In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Peter Benoit) wrote:
> I'd like to search inside the text file for my name, then pull all the info
> from that point till the next name which is Fred.
>
> The text file would be called names.txt
>
>
> So I'm trying to
>
> preg_match("Peter
I'm trying preg_match with no success.
I'd like to search inside the text file for my name, then pull all the info
from that point till the next name which is Fred.
The text file would be called names.txt
So I'm trying to
preg_match("Peter",names.txt,$myname)
then do the same for Fred, and
2 matches
Mail list logo