dediği gibi yaptım

mysql_error(); olmalıymış bu arada ve kod hatası şöle

veritabaninda degisiklik yokYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '	TRUNCATE `ps_image`, TRUNCATE `ps_product`, TRUNCATE `ps_product_lang`' at line 1