homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Update content (php mysql ajax)
php mysql ajax

 5:30 pm on Apr 2, 2009 (gmt 0)

Hi all!
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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved