Gh wrote:
I would like to know how I can code the the following conditional
check.... if the $_GET['api'] does not exist, or is either set and has
no length or is set and is not an integer.


I am drawing a blank on the if statement to use....
if(!isset($_GET['api'] || strlen($_GET['api']) == 0 || !is_numeric($_GET['api'])) {
// do something
}


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to