What's wrong with this MySQL query?
$result = mysql_query("SELECT did FROM publications where group IN
(SELECT s_group FROM subscriptions where uid1='$id')") or die(mysql_error());
I am getting syntax error:
You have an error in your SQL syntax; check the manual that corresponds
to your MySQL server version for the right syntax to use near 's_group FROM
subscriptions where uid1='34846')' at line 1