469,341 Members | 6,659 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,341 developers. It's quick & easy.

How to update a record using ajax php

107 100+
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
2 2763
Dormilich
8,651 Expert Mod 8TB
instead of a button you can use pretty much every HTML element.
Jul 2 '10 #2
raamay
107 100+
@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.

Similar topics

2 posts views Thread by Tinius | last post: by
3 posts views Thread by D. Shane Fowlkes | last post: by
5 posts views Thread by Martin | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.