> That's generally not a good idea because depending on the type of control > empty input fields will not be available in the $_POST array (e.g. > unchecked checkboxes are _not_ sent by the browser). > > You should rather have a list of input variables that need to be filled and > compare $_POST against this.
I'd agree with this, but just in case this is an absolute necessity, and a sure thing, have you tried: foreach($_POST as $key=>$value) { ... } I haven't tried that, but it may work. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php