Posted by Jack Jackson on 07/31/05 18:04
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:
//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!!
[Back to original message]
|