My shopping cart returns a form field called status to me with a comma delim. value:
Notice however the the "Values" are not in single or double quotes. I need to be able to check for the word "approved" in the string of values and if exists, send an email.
I thought that setting $myvar = array($status) then printing $status[1] would give me the second part. No go.
How can I check for the key word "approved"? DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
Code:
<input type="hidden" name="status" value="275394,This transaction has been approved.,Y,404142852">
Notice however the the "Values" are not in single or double quotes. I need to be able to check for the word "approved" in the string of values and if exists, send an email.
I thought that setting $myvar = array($status) then printing $status[1] would give me the second part. No go.
How can I check for the key word "approved"? DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic