July 17th, 2008
Tutorial : Intoduction to AJAX with PHP
Hey Everyone,
I have been busy lately, but that ain`t gonna stop me from writing tutorials ! Anyways I had promised a Ruby on Rails tutorial, I am working on that, I am trying to make it as descriptive as possible, but before I post that, a lot of people asked me what is AJAX, how to integrate it with PHP/MySQL etc ? Well guys, This tutorial is dedicated to you all !
Along with answering all your queries, I will be teaching you how to make a simple application in PHP/MySQL using AJAX.
Index
- Page 1 : Introduction
- Page 2 : Introduction to ‘AJAX’
- Page 3 : General AJAX code
- Page 4 : Ajax Application using PHP (Username validator)
- Click here to see demo
Required : Some basic knowledge in Javascript, HTML.















November 13, 2008 at 3:39 am
you should change the onkeypress in the input tage to onkeyup so it validates after every character not before a new character is pressed. this way you don’t have to press enter after you have entered a name.
November 4, 2008 at 6:51 pm
I tried exactly the things mentioned in this tutorial.After typing in the words in the input field ,it seems to do nothing as if it can’t load check.php to get response and hence only shows ‘loading…’.Both the html , php file are in the same folder.Can you think of any mistake i might be doing?
October 7, 2008 at 8:19 pm
For some reason I cannot see the AJAX code when I click on the link
September 17, 2008 at 5:34 pm
Very nice, simple example. Thank you!
September 11, 2008 at 12:51 pm
I want to get the source code PHP with AJAX.