views:

167

answers:

4

I'm trying to update info that a users entered in to a mysql database using php without reloading the web page how can I do this an example or tutorials will be nice.

If there is a tutorial on how to do this can you please share with me the link or links to the tutorial(s).

+1  A: 

This question is about taking an email address from a user, adding it to a database (or otherwise processing it with php), and updating the web page without reloading the page, ajax style:

http://stackoverflow.com/questions/699577/javascript-css-php-mysql

The answer to that question should provide a good template for what you're looking for.

dreeves
A: 

The W3Schools Ajax tutorial is a good place to start.

Paul D. Waite
+2  A: 

There's a nice Ajax tutorial here, and it does use PHP on the server side. Once you do fully understand how Ajax works, by the way, you may probably want to move to a Javascript framework that makes it easier, such as jquery, dojo or Google's Closure.

Alex Martelli
A: 

Pull jQuery in to your project and look at its get/post methods documentation.

Chris