phpprotip.com
Pwning your MySQL
How to find out if a specific column exists: SHOW COLUMNS FROM TableName WHERE Field LIKE (‘ColName’)