Please Help
i am getting
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax
while attempting to run the query below, i know the query have one infect couple of syntax errors which i don't know how to solve
$myQuery = mysql_query("SELECT key
from DE_user_stats
WHERE article_id = 671
AND domain = 2nd.com/
AND userid = 2")
or die($myQuery."<br/><br/>".mysql_error());
The table look like this :
key - article_id - domain - userid 13 671 2nd.com/ 2
The output should be 13.
Thanks
( i am not using mysql and no one should it was just for an experiment, please don't hate me)