HELP ME !! I am Not able to update form data to mysql using php and jquery
- by Jimson Jose
i tired and was unable to find the answer i am looking for an answer. my problem is that i am unable to update the values enterd in the form. I have attached all the files i'm using MYSQL database to fetch data.
what happens is that i'm able to add and delete records from form using jquery and PHP scripts to MYSQL database, but i am not able to update data which was retrived from database. the file structure is as follows
index.php is a file with jquery functions where it displays form for adding new data to MYSQL using save.php file and list of all records are view without refrishing page (calling load-list.php to view all records from index.php works fine, and save.php to save data from form)
- Delete is an function called from index.php to delete record from mysql database (function calling delete.php works fine)
- Update is an function called from index.php to update data using update-form.php by retriving specific record from mysql tabel, (works fine)
Problem lies in updating data from
update-form.php to update.php (in
which update query is wrriten for
mysql)
i had tried in many ways at last i had figured out that data is not being transfred from update-form.php to update.php there is a small problem in jquery ajax function where it is not transfering data to update.php page. some thing is missing in calling update.php page it is not entering into that page
I am new bee in programming i had collected this script from many forums and made this one.So i was limited in solving this problem i cam to know that this is good platform for me and many where we get a help to create new things..
please guide me with your help to complete my effors !!!!! i will be greatfull to all including ths site which gave me an oppurtunity to present my self..... please find the link below to download all files which is of 35kb (virus free assurance)
download mysmallform files in ZIPped format, including mysql query
thanks a lot in advance, May GOD bless YOU and THIS SITE