[Solved] PHP does not insert into mysql


I think you didn’t close out the Values with an end parentheses.

$result = mysql_query(
"INSERT INTO property( Pname, P_Price,P_Desc,P_City, P_Size,P_Rooms, P_garage, P_Address, P_Long, P_Lat, P_Sold, Provinces_idProvinces)
VALUES('http://10.0.2.2/images/pic3.jpg',98000,'beautifull house','Durban','7m',1,2,'L-377 Umlazi','30.863226','-29.971518',0,'1')");

solved PHP does not insert into mysql