On Mon, Mar 26, 2001 at 12:38:38PM +0200, [EMAIL PROTECTED] wrote:
don't know why this is on php-db....
> I want to read lines from a file between <!--begin--> And <!--End-->
read the file line by line, match every line with a regexp.
If you hit the line <!--begin--> start stuffing the lines in array.
Once you hit the line <!--End--> stop reading the file, close it and
your have every line in between in an array. should do the job just
fine.
-fkr
--
gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0
|http://www.hazardous.org/ | whois -h whois.ripe.de FKR-RIPE |
|all your base are belong to us | shame on me | fkr@IRCnet |
PGP signature