theoneweasel77
Programmer
Can some one tell me what's wrong with the following mysql_query?
The error returned by mysql_error() is
Thanks for your help
Writing code is easy. Getting it to work is a nightmare.
Code:
mysql_query("select $move from moves where game_num = '$ID' && color = 'blue'", $db);
Code:
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 'from moves where game_num = '1' && color = blue' at line 1
Writing code is easy. Getting it to work is a nightmare.