Oracle Magazine Special offer for AjaxImpact.com Visitors!! Subscribe to Oracle Magazine for Free!
AJAX IMPACT


TUTORIALS
Taking AJAX Further with PHP
05/12/2009 by Peter


Today, we're going to take Ajax a little further, by building a little application where our user selects a product from a pop-up list, and then we do a little Ajax dance to get some product details (and an image) and display them in a box below. We'll be making our own little XML schema which we'll use to pass information between the JavaScript in the user's browser and our PHP script on the server.

Requirements

For this tutorial, you'll need the following (and in brackets, I'll show you what I'll be using):

A web server running PHP (I'm using PHP 5, but it might work on PHP 4).

A decent browser (I'll be using Firefox 2.0.0.1).

A decent text editor and/or IDE that supports Unix line breaks if you download my set of files

Some patience, time, determination and enough hair to rip out when the JavaScript is going wrong (check, check, check).

Also highly recommended, but not required, is the Firebug extension for Firefox, as it makes checking and debugging your JavaScript a lot easier. Taking AJAX Further with PHP

   Read More...

 Rate this Ajax Tutorials
Error connecting to mysql