New Zenner
- Join Date:
- Dec 2007
- Location:
- Ontario, Canada
- Posts:
- 27
- Plugin Contributions:
- 0
1064 Error in displaying MYSQL data after creating custom table
Greetings. Tried to display a few fields in blank sidebox. Added new table in database and defined it in database_tables.php.
It returned with the following error:
1064 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 '' . TABLE_NEW . ' ORDER by field1' at line 2
in:
[SELECT field1, field2' . TABLE_NEW . ' ORDER by field1]
Currently running with PHP 5.2.5; MYSQL 4.1.22;
Does this mean I need to upgrade MYSQL?