Quote:
Originally Posted by BirdOPrey5
The problem is the SQL statement is missing something after "ORDER BY" it should be ORDER BY _field_name_ of some sort, not sure what off hand though.
|
There are sort options:
PHP Code:
ORDER BY $sortname $sortorder
The issue I noticed is that I was getting this error because of malformed URLs. Every time I received this invalid SQL error, the URL had the "?language=" added at the end of the URL - /forum/all_albums.php
?language=af
Not sure if that helps some of you with this error.
-P