Re: [PHP] Does the array parameter of ereg actually return strings matched?

2001-05-11 Thread Jason Stechschulte
On Wed, May 09, 2001 at 06:13:17PM -0700, Dexter wrote: > Does the array parameter of ereg actually return strings matched? I > tried to read a file looking for a string using ereg and wanted to put > the matched strings found in an array. Doesn't seem to be happening > with the following. > >

[PHP] Does the array parameter of ereg actually return strings matched?

2001-05-09 Thread Dexter
Does the array parameter of ereg actually return strings matched? I tried to read a file looking for a string using ereg and wanted to put the matched strings found in an array. Doesn't seem to be happening with the following. $contents=fread($readfile,10); $pattern=""; $i