You are here: Re: [PHP] Re: error checking a null array « PHP « IT news, forums, messages
Re: [PHP] Re: error checking a null array

Posted by "Mark Rees" on 08/01/05 16:41

>
> g.gill wrote:
> >>From what I understand the simplest solution here would be to check to
see
> > if you have $_POST['cb'] in the first place. That would indicate if
> > checkbox was selected or not. After, you have posted the form just do
the
> > following test.
> >
> > $check_box_exits = ((isset($_POST['cb']))? true:false);
>
>
> That helped, sonu, thank you. The problem now is that, how can I pass
> through $_POST the names of each specific checkbox, whether filled in or
> not, and then parse each to see if they have any answer? I need to do
> that or else I can only tell the ones which *have* been filled in but
> not those which have not.


It's about this time that I usually say, "forget the checkbox, let's use a
radio button instead" :-)


>
> Thanks

 

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

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