> I have code that says: > > if($_GET['sc'] != '2' OR '8'){ > do this..... > }
if($_GET['sc'] != 2 || $_GET['sc'] != 8) { do this... } You don't need the single quotes if you're comparing integers. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php