This example demonstrates how to use AJAX (jQuery flavor) with PHP. We take a simple database "fakecompany" with a single table "people". People have names and phone numbers. The SQL export for this database is included in the .zip file (below).
The HTML initially uses AJAX to load in all the people and their phone numbers, using jquery.load().