MySQL Forums
Forum List  »  PHP

Re: Query with PHP variables not returning correct result.
Posted by: Richard Dunne
Date: March 21, 2015 01:35PM

I found the problem. After using real_escape_string the php variable $Email contains:
\'.email_address.\'
as opposed to just
email_address
I have tried str_replace using \ to escape each character but no joy.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.