Dec 5, 2009, 1:47 PM
Post #1 of 1
I have an email forwarded to a script that needs to be written to the database:
Please help with this..
Ref # = 307501245
Email = email@example.com
The script goes something like this:
if(preg_match("/^Reference Number# = (.*)/",$break_msg[$i],$matches))
if(preg_match("/^Email = (.*)/",$break_msg[$i],$matches))
I am able to run the script with a ":" sign (ex: Ref # : 307501245) but not with "=" sign. The returned message is showing Ref # =3D 307501245.
Could some one help with the correct code?
(This post was edited by anandsoft on Dec 5, 2009, 1:52 PM)