Jump to content


Photo

AJAX/PHP


  • Please log in to reply
1 reply to this topic

#1 tleisher

tleisher
  • Members
  • PipPipPip
  • Advanced Member
  • 88 posts

Posted 09 September 2006 - 07:15 AM

So I Have this section on my website where people can post comments to an article, I want the comments to just auto update and show up under the article without redirecting the user. I know this is possible with AJAX and I'm on the brink of figuring out how it works.

I checked ajaxfreaks.com but their intro tutorials are actually pretty confusing, since they dont bother to tell you what part of their functions do, or why they do it that way (even in their $_POST part, they tell it to make a URL adjustment without telling you why).

So I'm pretty confused. Can anyone link me to, or explain, how I would go about making (with php/ajax) a form that when filled out and clicked, it auto updates the page and replaces the comment textbox with something that says "Thanks for posting"?

#2 Barand

Barand
  • Moderators
  • Sen . ( ile || sei )
  • 18,021 posts

Posted 10 September 2006 - 12:36 AM

Does the AJAX link in my sig enlighten or confuse further?
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received






moon.png

|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users