You are here: Re: [PHP] error checking woes- SOLVED « PHP « IT news, forums, messages
Re: [PHP] error checking woes- SOLVED

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!!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация