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 ') UNION ALL SELECT CONCAT(0x464a61,0x6d67364e,0x476d47)-- -'' at line 3