Jump to content

update Mysql through form data entry


drizzyt
Go to solution Solved by ginerjm,

Recommended Posts

Hello everyone. I am new to this site, and relativley new to php programming. I have been trying for several days now to edit a  mysql row through a form. The problem i am having, is that when i try to update through the form i get no update, and no errors along the way. The file attached is the one i am having trouble with. i would appreciate any response.

editparser.php

Link to comment
Share on other sites

Did you look at the table to see the record you have been updating?

 

Your query is wrong. Wrap the query in double quotes and the values in single ones so that your values are actually included, and not just the text of the variable names.

Link to comment
Share on other sites

yes. I did that to begin with. Then i kept getting errors, saying check my version of mysql for proper syntax, or something. I kept getting that error untill i did it this way, but i will try it again, and yes i did check the table and there was no update.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.