if ( ($idx != "1") || ($idx != "4") || ($idx != "9") ) { echo "$results"; }
Adam On Thu, 15 Aug 2002, Liam MacKenzie wrote: > Ok, I'm having a blonde day... > > If $idx == 1, 4 or 9 I don't want it to echo $results. > I have this, what's the syntax to put multiple values in there? > > > if ($idx != "1") { > echo"$results"; > } > > > Thanks, > Liam > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php