DATABASE ERROR:
SELECT *
			FROM cms_user_awards
			WHERE user_id = 
			ORDER BY pubdate 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 pubdate DESC' at line 4