You got a point there... unless you change the operator from != to == right? Missed that.
> -----Original Message----- > From: Chris Shiflett [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 15, 2002 1:00 AM > To: César Aracena > Cc: 'Liam MacKenzie'; [EMAIL PROTECTED] > Subject: Re: [PHP] stupid question > > César Aracena wrote: > > >Just usa an OR concatenator like: > > > >If ($idx != '1' OR $idx != '4' OR $idx != '9'){ > >echo $results; > >} > > > > Actually, this statement will always evaluate to true. I think you mean > to use &&. > > Chris > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php