DB function failed with error number 1064You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range as value, range as text FROM jos_ezrealty_price WHERE published=1 ORDER by' at line 1 SQL=SELECT range as value, range as text FROM jos_ezrealty_price WHERE published=1 ORDER by ordering