Creating a MySQL connection with PHP/AJAX
|
11/18/2005, By John Wiseman
|
In this tutorial I will explain how to open a mysql database connection using PHP and the all popular AJAX. The purpose of this article is to demonstrate how the XMLHttpRequest object works within php and the advantages of using it. This tutorial will be the first in a series of articles leading to the development of a fully functional dynamic web events application.
AJAX is a fancy technique for creating websites that gather information from servers without having to refresh themselves. I could get into the nitty-girtty about advantages and disadvantages of using AJAX but for now all you need to know is any users action that would normally generate a HTTP request takes the form of a JavaScript call to the AJAX engine instead. The engine makes any data requests asynchronously without pausing a user’s interaction with the web application.
Read More...
|
Rate this Ajax Articles
Rating: 8.5 out of 2 votes cast
| |
|
|
|
|
|
|
|
|
|
|