Posted by J.O. Aho on 12/14/06 08:28
cerberus wrote: > What is the best method for checking the $_POST? In the first if > statement, or an entirely new if statement. Just curious, I'm a total > noob. if(!empty($_POST['id']) { /* do what you need to do */ query="... } else { echo "damn, id is empty"; } http://www.php.net/manual/en/function.empty.php -- //Aho
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming