Jump to content

Stupid SQL question


Truly
 Share

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...