Jump to content

[SOLVED] Insert problem


SirChick

Recommended Posts

My instert query says theres a syntax error but i dont know what the error is ..im not greatly used to using complex inserts of many fields.... this is what i put:

 

$insertquery = "INSERT INTO houses (HouseType,UserID,HouseNumber,HousePrice,StreetName,Area)
					Values ('Blanket', '{$_SESSION['Current_User']}','0','0','Anywhere!','Anywhere!')";
				mysql_query($insertquery) or die(mysql_error());

 

 

Can any one see where i went wrong?

Link to comment
https://forums.phpfreaks.com/topic/68742-solved-insert-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.