note 80677 deleted from function.isset by nlopess
| From: | nlopess@php.net | Date: | Tue, 29 Jan 2008 12:14:30 +0000 |
| Subject: | note 80677 deleted from function.isset by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-135538@lists.php.net to get a copy of this message | ||
Note Submitter: jay at w3prodigy dot com
----
Also note, that if you have a URI that looks like this:
/page/index.php?query=
performing isset($_GET['query']) will return TRUE. as query is set, though null, in the
QUERY.
To counteract this behavior, check isset($_GET['query']) and
!empty($_GET['query']) as empty will detect the null value.