note 101856 modified in reserved.variables.get by danbrown

From: Date: Fri, 14 Jan 2011 17:37:12 +0000
Subject: note 101856 modified in reserved.variables.get by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-175756@lists.php.net to get a copy of this message
If you need to find out whether any GET variables have been specified, you can use the empty() function. <?php if(empty($_GET)) echo "No GET variables"; else print_r($_GET); ?> empty() - http://php.net/manual/en/function.empty.php print_r() - http://php.net/manual/en/function.print-r.php --was-- If you need to find out whether any GET variables have been specified, you can use the empty() function. <?php if(empty($_GET)) echo "No GET variables"; else print_r($_GET); ?> empty() - http://uk3.php.net/manual/en/function.empty.php print_r() - http://uk3.php.net/manual/en/function.print-r.php http://php.net/manual/en/reserved.variables.get.php

« previous php.notes (#175756) next »