Error Processing Query: 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 'and datetime LIKE "2012%"
ORDER BY ID DESC' at line 4 SELECT *,
DATE_FORMAT(datetime, '%b %D %Y at %h:%i:%s %p') as the_date_time
FROM vote_vote
WHERE and datetime LIKE "2012%"
ORDER BY ID DESC
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mujer/public_html/include_vote_stats.php on line 80