Reply to Re: Check if any fields are filled in

Your name:

Reply:


Posted by Good Man on 11/06/07 18:12

mtuller <mituller@gmail.com> wrote in
news:1194372034.748781.192620@o38g2000hse.googlegroups.com:


>> So decide what exactly you are trying to do, and then pick either of
>> the solutions posted.
>
> 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.

perfect!

so you know what you want to do, does this mean you've chosen a solution
from the thread, or can create your own? you've said exactly what you want
to do above (even in code term, no less) so just put it together!!!

[Back to original 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

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