$_POST

From: Date: Mon, 17 Jan 2005 08:32:08 +0000
Subject: $_POST
Groups: php.general 
Request: Send a blank email to php-general+get-206520@lists.php.net to get a copy of this message
When you submit something, and you want to make sure that the user inputs all of the info, is there an easier way to do it than this: if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah])) { etc..... } is there an easy way to check if all of the varibles have data in them? ~Andrew

« previous php.general (#206520) next »