Re: stristr query trouble
| From: | Warren Windvogel | 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