Re: Problem with form
Posted: Thu Apr 24, 2008 11:01 am
Yeah I agree, for my own practice I usually carry out further validation on my data other than just empty()I use empty() too, but you need to be careful with it. Think about what will happen if the user needs to insert "0" (zero) as a string into a field. empty() will reject it because it's a bit stupid.