Truly Posted April 27, 2007 Share Posted April 27, 2007 Hi guys, I feel really stupid for asking for help on this simple of a problem but I cant figure it out and its been driving me crazy for like 2 days. include "variables.php";mysql_query("INSERT INTO menu(title,link,desc,IDNUM) VALUES ('gegesg','sgdg','jrtj','5')"); the names menu, title, link, desc, and IDNUM are all correct ive checked that a hundred times. I almost hope this isnt a simple problem because this has been making me go insane Link to comment Share on other sites More sharing options...
boen_robot Posted April 27, 2007 Share Posted April 27, 2007 Well, maybe the error is not in the query itself, but rather the way the script itself operates. Could you give the full code (estabilishing connection, selecting DB, etc.)? Link to comment Share on other sites More sharing options...
aspnetguy Posted April 27, 2007 Share Posted April 27, 2007 what errors do you get? Is the IDNUM set to auto_increment? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.