note 8131 added to empty

From: Date: Mon, 28 Aug 2000 20:25:31 +0000
Subject: note 8131 added to empty
Groups: php.notes 
Request: Send a blank email to php-notes+get-3559@lists.php.net to get a copy of this message
The way I check form values is to use isset() and then compare it against an empty string; e.g., if (! isset($form["x"]) || ($form["x"] == "")) error_bomb(); http://www.php.net/manual/function.empty.php

« previous php.notes (#3559) next »