Re: stristr query trouble

From: Date: Thu, 13 May 2010 08:15:02 +0000
Subject: Re: stristr query trouble
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-305141@lists.php.net to get a copy of this message
Ron Piggott wrote:
$subjects = "Delivery Status Notification(Failure)"; Here is my syntax: if ( stristr( $subjects, "Delivery Status Notifcation(Failure)" ) ) { Notification is misspelled. Next time copy and paste the comparison string or use regular expressions to be more safe.
Kind regards Warren -- Developer The University of the Witwatersrand Email: warren.windvogel@wits.ac.za Gmail: wwindvogel@gmail.com MSN: wwindvogel@hotmail.com Skype: wwindvogel Tel: +27 11 717 7184 Cell: +27 73 264 6700 Fax2Email: 0862950483

« previous php.general (#305141) next »