-3
我試着寫一些東西到MySQL數據庫我去這個錯誤:腓mysqli的第2卷
代碼:
$fel = $mysqli->query("INSERT INTO deleted (uid, buy_type, prop_type, district, street, room_min, room_max, price_min, price_max, condition_type, heat_type, lift_type, parking_type, type_of_del, mikor)
VALUES ('".$mysqli->real_escape_string($letomb['uid'])."', '".$mysqli->real_escape_string($letomb['buy_type'])."', '".$mysqli->real_escape_string($letomb['prop_type'])."', '".$mysqli->real_escape_string($letomb['district'])."', '".$mysqli->real_escape_string($letomb['street'])."', '".$mysqli->real_escape_string($letomb['room_min'])."', '".$mysqli->real_escape_string($letomb['room_max'])."', '".$mysqli->real_escape_string($letomb['price_min'])."', '".$mysqli->real_escape_string($letomb['price_max'])."', '".$mysqli->real_escape_string($letomb['condition_type'])."', '".$mysqli->real_escape_string($letomb['heat_type'])."', '".$mysqli->real_escape_string($letomb['lift_type'])."', '".$mysqli->real_escape_string($letomb['parking_type']).", '".$mysqli->real_escape_string($type_of_del)."', '".$mysqli->real_escape_string($mikor)."')") or die($mysqli->error);
錯誤
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 '1', '2013-07-14 07:17:55')' at line 14
誰能幫助對我來說?
你有**編輯您最初的問題**,而不是在幾卷出版。 –