By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,909 Members | 527 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,909 IT Pros & Developers. It's quick & easy.

How to update a record using ajax php

100+
P: 107
hello experts, i have fetched records from mysql database and against each record i want to place a update tag which when clicked will update the corresponding record using ajax and php. But here please note that i dont want to use button because its going to look clumpsy if button is placed. Now, once the record is updated it should not show up in the page. How can i do it?

Initially, each record will have a status as 0 but once i update it, the status should change to 1. So, that means i am querying records with status=0 at first and once updated, the record should disappear from the list.

Please, tell me what can i use instead of a button and then how to make the updated record disappear from the list.
Jul 2 '10 #1
Share this Question
Share on Google+
2 Replies

Dormilich
Expert Mod 5K+
P: 8,639
instead of a button you can use pretty much every HTML element.
Jul 2 '10 #2

100+
P: 107
@Dormilich
i was successful updating the records but still the content donot refresh. So, what should i do?
Jul 5 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.