AJAX - Asynchronous JavaScript And XML
Specifically, AJAX with PHP!
JavaScript sends a request (asynchronously) to the PHP script. The PHP script uses the information and returns output usually in an XML format. The JavaScript reads the XML and updates the page.
Google "AJAX with PHP tutorials" for more information.
The PHP is rather easy, you do it like you were getting data from a for and then just format your output in XML.
The JavaScript is a little more complicated.
Just remember, the JS gets data from the page in the form of a link or form ans sends the data to the PHP script. The PHP does all of the work as far as database manipulation, data manipulation, and xml output. The JS then writes the data to the page in the manner in which you tell it to. This is the tricky part since different browsers handle different JavaScript differently. I love using the same word multiple time in a sentence!
Good luck,
vujsa
Reply