Hi all:
For 99% of my queries I've been binding parameters, but on this particular query that won't work. So I am using mysqli real escape string.
I have a form that is entering a name ('Hacksaw' Jim Duggan) and am runnning the variable through the mysqli real escape string. I echo the page that is receiving the variable and as expected it is coming up as \'Hacksaw\' Jim Duggan. But the problem is, the DB is not reading \'Hacksaw\' Jim Duggan properly as no results are being returned.
if (isset($_REQUEST["player"])){ $aPlayer = mysqli_real_escape_string($link, $_REQUEST["player"]);}
What am I missing?
Thanks!