I am trying to write an if statement like this:
[PHP]
$email = $_POST['email'];
if ( "@" !isin '$email' ) {
echo "Not a valid email address!<br />";
return;
}
[/PHP]
What i am trying to do is give message and return if @ is not in $email variable. I don't know the PHP equivelent for isin. Cannot use == because @ can be anywhere in the $email variable.