//error checking foreach($_POST as $qname=>$value) { if(empty($value)){ $message[$qname]=1; } } I cannot believe what I started with and what I ended up with. Thanks as usual for the help!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
I did the smart thing last night: nothing. I read some PHP books and
then realized that the answer to my error checking was a lot less
complex, once again, than I had initially suspected. I finally ended up
with: