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 'lines ORDER BY id DESC' at line 1
at this line of code:
Code: Select all
$result = mysql_db_query($dbname, "SELECT * FROM lines ORDER BY id DESC") or die(mysql_error());Too strange, I'd really appreciate any suggestions.
Thanks
Rob