RE: [PHP] stristr query trouble

2010-05-13 Thread Lawrance Shepstone
On 13 May 2010 10:08, Lawrance Shepstone 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'

Re: [PHP] stristr query trouble

2010-05-13 Thread Peter Lind
On 13 May 2010 10:08, Lawrance Shepstone 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'

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 rega

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

[PHP] stristr query trouble

2010-05-13 Thread Ron Piggott
I am not understanding why 'true' isn't the result of this syntax because $subjects equals: $subjects = "Delivery Status Notification(Failure)"; Here is my syntax: if ( stristr( $subjects, "Delivery Status Notifcation(Failure)" ) ) { $TIRSFlag = true; echo "true"; }