In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Peter) wrote:

> for example
>  if ($email =="")
> checks if the $email variable was inputted by the user.

Better: if(!empty($email))

> 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 (
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