SirChick Posted September 10, 2007 Share Posted September 10, 2007 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? Quote Link to comment https://forums.phpfreaks.com/topic/68742-solved-insert-problem/ Share on other sites More sharing options...
pocobueno1388 Posted September 10, 2007 Share Posted September 10, 2007 Whats the error your getting? Quote Link to comment https://forums.phpfreaks.com/topic/68742-solved-insert-problem/#findComment-345540 Share on other sites More sharing options...
SirChick Posted September 10, 2007 Author Share Posted September 10, 2007 Oh wait lol! man thats embarrising! had a field mispelt!!! sorry to have wasted your time poco ! Quote Link to comment https://forums.phpfreaks.com/topic/68742-solved-insert-problem/#findComment-345543 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.