var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Order by issue
Can anyone see my mistake here:
It keeps showing an error of:
SELECT data.entry_id AS entry_id_f
FROM exp_channel_data AS data
WHERE field_id_73 = 'yes'
LIMIT 0, 1
ORDER BY 1 DESC
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 'ORDER BY 1 DESC' at line 1
and I cant find the issue.
if you look up the syntax in da manual, you will see that ORDER BY is optional, and so is LIMIT, but if you use them both, guess which one has to come first?