You are here: Re: Check before insert in Database « PHP Programming Language « IT news, forums, messages
Re: Check before insert in Database

Posted by Chirag Shukla on 05/23/06 05:48

Steph wrote:
> hello everyone,
>
> I would to know how to check the value I am getting from an HTML form.
>
> Let's put it that way, I need to get a string and I would like to make sure
> this is a string and not a number for instance.
>
> What kind of test could I use to check that?

is_numeric function is what we should use to first check if the
incoming values are valid or not. If not valid, display error message
or else proceed to check the next variable.

 

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

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