| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|Update content (php mysql ajax)|
php mysql ajax
| 5:30 pm on Apr 2, 2009 (gmt 0)|
I'm looking for an example where ajax call a php function to add something (friend). And after run change content.
Add Friend (url=friend.php?action=add&id=12)
After run this to change in
Remove Friend (url=friend.php?action=remove&id=12)
Using div and id.
Anyone can give me any example of this?
| 7:44 am on May 7, 2009 (gmt 0)|
Apologies for late reply.
I am sure there is a reason why you want to use AJAX for this, even though there is technically no need.
What have you got so far? Do you have the AJAX function already, or ...?
| 5:18 pm on May 7, 2009 (gmt 0)|
Nothing :(. No I dont have a function but I can use $_GET['']
| 7:27 am on May 13, 2009 (gmt 0)|
Perhaps you should settle for a simple form and regular page update then?
I know that is probably not what you want to hear ... but it is a clean and simple solution, and would certainly cause less of a headache for you.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2013 all rights reserved