You are here: Re: Submit form with empty data « All PHP « IT news, forums, messages
Re: Submit form with empty data

Posted by Martin Jay on 09/28/39 11:47

In message <uJn9g.8115$WP5.7322@tornado.rdc-kc.rr.com>, Harold Ralston
<lumina_car@yahoo.com> writes
>In a way, because of flaming, I feel hesitant to add another response
>but, this is what seems to work for me:
><?php
>if(empty($surname))
>{
>$surname=0;
>echo "Please enter valid surname.";
>}
> ?>

LOL. It's just a bit of healthy banter. I don't think there was any
flaming, but perhaps I'm just too used to it. It's interesting and
useful to see how other people solve problems. :)

Robert's last suggestion is neat, but it does rely on you using SQL and
having the knowledge and confidence to made the necessary changes.
--
Martin Jay

 

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

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