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;
}
-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 Notification
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
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
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
5 matches
Mail list logo