[PHP] Re: readfile from startpos to endpos

2004-01-05 Thread JLake
Thanks a bunch. J "Jlake" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've been looking around for a bit and can't quite find what I'm looking to > do. > > I want to read a file (from a pattern matched start position) to (a pattern >

[PHP] readfile from startpos to endpos

2004-01-05 Thread JLake
I've been looking around for a bit and can't quite find what I'm looking to do. I want to read a file (from a pattern matched start position) to (a pattern matched end position) $startPos = strpos($file, ''); $endPos = strpos($file, ''); $stuff = fread($file, ($endPos - $startPos)); something l

[PHP] Re: extract/replace the content of html pages

2004-01-05 Thread JLake
ead( $fp, $file, filesize( > $dir . $file ) ) ) > //deal with $contentArray here > fclose( $fp ); > } > > Is that what you had in mind? > > > "Jlake" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hello > > > > I have a f

[PHP] extract/replace the content of html pages

2004-01-02 Thread JLake
Hello I have a folder full of html pages that I need to extract the content from. They all have and comment tags surrounding the content. I need an easy way (not one at a time) to extract that content and place it in a new template. Any ideas are appreciated. Im assuming it will have to be some

Re: [PHP] MySQL newsgroup

2003-12-18 Thread JLake
Thanks "Sam Masiello" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] The URL below lists all of the MySQL mailing lists. Just choose the one that is most specific to your issue: http://lists.mysql.com/ HTH! --Sam JLake wrote: > Can anyone point my to a

[PHP] MySQL newsgroup

2003-12-18 Thread JLake
Can anyone point my to a MySQL specific SQL newsgroup. having some problem corectly extracting data. Thanks, J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php/mysql data display

2003-12-17 Thread JLake
Data is as such right now for testing purposes: ID, catName, catLink, catDepartment. I will have multiple instances of the same text in catDepartment. I realize this is a fopaux. I'm just trying to do a quick fix. none the less I want the data formatted like this: DEPARTMENT NAME 1(catDepartment)

[PHP] php/mysql data display

2003-12-17 Thread JLake
I have a small database that I want to display data from. in such a way that it shows shows in a table with the table header being the department category and the table cells being the categories for each department. I have no problem connecting to the database) I imagine that I will need nested lo