Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

AJAX and PHP Part 1
Jun 01, 2007 @ 21:51:00

PHPBuilder.com has posted part one of a new series looking at using AJAX functionality on your site (along with PHP_ to create a simple form handling script.

So you're interested in AJAX? AJAX is a powerful addition to JavaScript for browser-to-server intercommunication. We will demonstrate a simple script that sends a GET or POST request to a form handling script on a server, then the server script will return a response to the browser XMLHttpRequest JavaScript object.

They start with a definition of what AJAX is and how it can be used before getting into the examples - the first of a simple text field in a form that sends the contents back to the server and the second to fetch dynamic image information from the server.

tagged: ajax tutorial form text backend dynamic image ajax tutorial form text backend dynamic image