开发者

values not updating from PHP AJAX form to MYSQL database

开发者 https://www.devze.com 2022-12-23 17:12 出处:网络
Hi all and thanks in advance to all for this I tired searching the entire forum and was unable to find the answer i was looking for so i decided to post a new thread, if a thread explaining this alr

Hi all and thanks in advance to all for this

I tired searching the entire forum and was unable to find the answer i was looking for so i decided to post a new thread, if a thread explaining this already exists than i'm sorry for not finding it and posting there.

Anyhow my problem is that i am unable to update the values enterd in the form. I have attached all the files i'm using to try get this to work. What happens is that i'm able to enter and delete records from MYSQL database using the ajax and PHP, but i am not able to update even though after checking the php file.

pls find the link were complete files are zipped

http://cid-b88405bc51ef157b.skydrive.live.com/brow开发者_运维百科se.aspx/Public?lc=1033


Your problem could be present in couple places:

  1. incorrect call to ajax
  2. incorrect parameter parsing in ajax
  3. incorrect update statement

What you need to do:

  1. Make sure that you passing correct parameters
  2. Make sure that you parse those parameters correctly
  3. Debug your update statement and make sure that it is working
0

精彩评论

暂无评论...
验证码 换一张
取 消