Re: error checking woes- SOLVED

From: Date: Sun, 31 Jul 2005 15:04:28 +0000
Subject: Re: error checking woes- SOLVED
Groups: php.general 
Request: Send a blank email to php-general+get-219711@lists.php.net to get a copy of this message
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!!

« previous php.general (#219711) next »