I was just going through my PHP book and I noticed that there was a way to
check whether or not a form was filled out after pressing "submit".

Things worked okay when I used the form checking method of just checking
if a particular field was filled in.

for example
 if ($email =="")

checks if the $email variable was inputted by the user.

However I was wondering how can I refine it so that it will also check if
the $email variable contains an '@' sign?



PHP General Mailing List (http://www.php.net/)
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