[PHP] Re: Empty Delimiter error

2002-04-15 Thread Rich Pinder
Thanks so much Daniel. Indeed, the old line that I modified didnt use a function call. The old line was: if ($lines[$key] != $email){ So, the @ suggestion works just fine: if (!@stristr($lines[$key], $email)) { Seems like a cryptic syntax for an er

[PHP] Re: Empty delimiter error - ??

2002-04-15 Thread Michael Virnstein
this means in your case, that $email is an empty string "Rich Pinder" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm totally unfamiliar with php, and making some slight modificiations > to Chris Heilmann's nice v 1.1 Newsleterscript. > > What exactly

[PHP] Re: Empty Delimiter error

2002-04-15 Thread Daniel Grace
"Rich Pinder" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Let me try again: > > This line of the script: > > if (!stristr($lines[$key], $email)) { > > > yields the following error: > Warning: Empty delimiter in /home/sites/site56/web. > > > Do you k