mysql_error(); diyerek olusan hatayi incelediniz mi?