View Full Version : Getting values from a database

12-08-2008, 05:23 PM
Hi All,

I have a button in my HTML. On clicking the button, I need to retrieve some data from the database and display it in the list in the HTML. How do I do it?

Any help?

Philip M
12-08-2008, 06:03 PM

12-08-2008, 10:21 PM
As Philip tongue-in-cheek suggested, you'll want to google AJAX and check out some tutorials.

In specific you'll probably want to use the Javascript XMLHttpRequest object to ask a server-side API (I suggest written in PHP and MySQL) to return your database data.

Google tutorials for these:
Javascript XMLHttpRequest

12-09-2008, 12:19 PM
Thanks itsallkizza and Philip. I will start working on AJAX to fulfill the requirement given to me

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum