You are here: Re: Check if any fields are filled in « PHP Programming Language « IT news, forums, messages
Re: Check if any fields are filled in

Posted by Michael Fesser on 11/06/07 19:14

..oO(mtuller)

>Ok. I see where it sounds like I am saying different things, but I am
>not. Let me try again...
>
>I want to check to see if ALL fields are empty, and if they are, the
>form is not submitted into the database. If any of the fields have
>data though, I want it to be submitted. That is why I am checking with
>&&. If $nominee_first_name AND $nominee_middle_initial AND
>$nominee_last_name are all empty, echo "The fields are empty". If any
>are filled in, then submit to the database.
>
>Hope that explains better.

The solution was already posted:

<news:1194365743.911855.266720@50g2000hsm.googlegroups.com>

Micha

 

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

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