tw56 - 3:40 am on Nov 10, 2011 (gmt 0)
$kv = urldecode(strip_tags($_GET['key']));
$sql = 'SELECT * FROM `words` WHERE `key` = \'1ww\'';\\this works
I want to use the $kv to replace the \'1ww\' but I can't seem to get the right syntax.
echo $kv; \\ 1ww
when I use the $kv in the sql I return nothing.
when I leave it as is I return the correct rows.
Thanks for any help