ohdang888 Posted January 14, 2008 Share Posted January 14, 2008 whats wrong with this code? $new_games = mysql_query("SELECT game_picture_url, title, FROM game ORDER BY title ") or die(mysql_error()) i am getting this 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 'FROM game ORDER BY title' at line 1 Link to comment https://forums.phpfreaks.com/topic/85887-solved-whats-wrogn-with-this/ Share on other sites More sharing options...
marcus Posted January 14, 2008 Share Posted January 14, 2008 $new_games = mysql_query9"SELECT game_picture_url, title FROM `game` ORDER BY title") or die(mysql_error()); You have an extra comma after title. Link to comment https://forums.phpfreaks.com/topic/85887-solved-whats-wrogn-with-this/#findComment-438501 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.