Posted by DrewBe12 on 10/06/05 16:49
Exactly. if ($_POST['submit']) // Gives you the validation that the submit button itself has been pushed, then to detect an empty field $myfield = trim($myfield); if (!$myfield) { echo "error, no data provided"; }
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming