hyeteck Posted February 17, 2007 Share Posted February 17, 2007 hey guys i am getting an error at following lines of code in my program. $temp = mysql_query("INSERT into sections(sectionName, sectionWorkingName, topSection, rootSection") VALUES('$cat_segment', '$cat_segment', '0', '0')); there error is Parse error: parse error, unexpected T_STRING in /_scripts/allupdater.php on line 90 any idea what im doing wrong? Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 17, 2007 Share Posted February 17, 2007 You end the " too early. Quote Link to comment Share on other sites More sharing options...
Psycho Posted February 17, 2007 Share Posted February 17, 2007 You need to move the 2nd douoble quote to the end of the query $temp = mysql_query("INSERT into sections(sectionName, sectionWorkingName, topSection, rootSection) VALUES('$cat_segment', '$cat_segment', '0', '0')"); Quote Link to comment Share on other sites More sharing options...
hyeteck Posted February 17, 2007 Author Share Posted February 17, 2007 thanks Quote Link to comment 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.