RE: [PHP] stristr query trouble

2010-05-13 Thread Lawrance Shepstone
-Original Message- From: Ron Piggott [mailto:ron@actsministries.org] Sent: 13 May 2010 06:02 AM To: PHP General Subject: [PHP] stristr query trouble I am not understanding why 'true' isn't the result of this syntax because $subjects equals: $subjects = Delivery Status

Re: [PHP] stristr query trouble

2010-05-13 Thread Warren Windvogel
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

Re: [PHP] stristr query trouble

2010-05-13 Thread Peter Lind
On 13 May 2010 10:08, Lawrance Shepstone p...@digitalvoice.co.za wrote: -Original Message- From: Ron Piggott [mailto:ron@actsministries.org] Sent: 13 May 2010 06:02 AM To: PHP General Subject: [PHP] stristr query trouble I am not understanding why 'true' isn't the result of this

RE: [PHP] stristr query trouble

2010-05-13 Thread Lawrance Shepstone
On 13 May 2010 10:08, Lawrance Shepstone p...@digitalvoice.co.za wrote: -Original Message- From: Ron Piggott [mailto:ron@actsministries.org] Sent: 13 May 2010 06:02 AM To: PHP General Subject: [PHP] stristr query trouble I am not understanding why 'true' isn't the result of this