mysql_fetch_array(): supplied argument is not a valid MySQL result resource
and with mysql_error() it says:
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 ' 12' at line 1
ive checked the manual and its a bit hard to understand, also ive run in thru phpmyadmin and it works.