note 113371 deleted from function.isset by sobak
| From: | sobak@php.net | Date: | Sat, 10 Dec 2016 09:52:22 +0000 |
| Subject: | note 113371 deleted from function.isset by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208413@lists.php.net to get a copy of this message | ||
Note Submitter: falkon303 at gmail dot com
----
Here is another way to check if you have any $_GET variable set.
<?php
if (sizeof($_GET) > 0)
{echo "There are $_GET variables.";}
else
{echo "There are no $_GET variables.";};
?>
Alternatively you could use the switch method.