Ne bu PHP MySQL Query ile yanlış?

0 Cevap php

Ben bu sorguyu kullanarak bir MySQL hatası almaya devam:

$query = "INSERT INTO Subscribe (`FirstName`,`LastName`,`Username`,`Password`,`Email`,`Expiration`,`Status`,`Policy`,`dlPolicy`,`Extension`,`Key`,`Temp`) VALUES ('".mysql_real_escape_string($fname)."','".mysql_real_escape_string($lname)."','".mysql_real_escape_string($user)."', '".mysql_real_escape_string($pass)."', '".mysql_real_escape_string($email)."','".$exp."', '".$userkey."', '3', '1', '.exe,.mp3,.torrent,.mov,.zip','0', '0'";

İşte hata:

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 '' at line 1

Herhangi bir fikir?

0 Cevap