values not updating from PHP AJAX form to MYSQL database
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:
- incorrect call to ajax
- incorrect parameter parsing in ajax
- incorrect update statement
What you need to do:
- Make sure that you passing correct parameters
- Make sure that you parse those parameters correctly
- Debug your update statement and make sure that it is working
精彩评论