The whole set of is_* functions are useful, like is_numeric() and 
is_string() and such. 

Regular expressions are also mega-useful if you want data to be in a very 
specific format, like email addresses and such. 

isset() is also a good function to call at the beginning of your validation 
function or script just to make sure that if a variable is needed on a 
page, it's been set properly on the form.


Kurth Bemis wrote:

> i want to do form validation server side...not client side......
> i'm wondering what programers use to validate form data.....if
> loops....arrays? what?
> ~kurth

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to