note 101566 deleted from function.strstr by danbrown

From: Date: Mon, 27 Dec 2010 17:29:24 +0000
Subject: note 101566 deleted from function.strstr by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-175247@lists.php.net to get a copy of this message
Note Submitter: zaric45 at gmail dot com ---- Check if Var contains character: <?php $email = "test@hotmail.com"; if(strstr($email, '@')) { echo "Contains: @"; //Code... } else{ echo "Doesn't contains: @"; } ?>

« previous php.notes (#175247) next »