cpcarl
10-12-2006, 05:16 PM
Help! Can anybody tell me why this code
$sql_0 = "SELECT games_played, Rc, Ro, wins, loses, ties, titles FROM rating_career_test WHERE member_name = '$_POST[participant_0]'";
is producing the following error message:
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 'titles = 0 WHERE member_name = 'Smith, John'' at line 3
Maybe I'm just sleep deprived, but I just don't see what could possibly be causing a syntax error. :confused:
$sql_0 = "SELECT games_played, Rc, Ro, wins, loses, ties, titles FROM rating_career_test WHERE member_name = '$_POST[participant_0]'";
is producing the following error message:
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 'titles = 0 WHERE member_name = 'Smith, John'' at line 3
Maybe I'm just sleep deprived, but I just don't see what could possibly be causing a syntax error. :confused: