News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
Ajax and PHP The Simple Way
March 17, 2010 @ 12:48:51

Marc Plotz has written up a new tutorial for PHPBuilder.com introducing a simple way to get started combining PHP and Ajax with a "Google Suggest" type of example.

When you use Ajax with PHP, PHP does the calculations that it needs to do on the server and sends the result back to the page. You then use JavaScript to display these results in a predefined place. The demo application you will learn how to build in this article is a very simple Suggestion box, just like the one that Google made famous and thus ushered in the Ajax era.

The example (you can download it here) creates a basic form text field and the Javascript you'll need to make the callback to the waiting PHP script. It doesn't use any external libraries (like jQuery or Prototype) so be ready for bare-bones Javascript.

0 comments voice your opinion now!
tutorial ajax suggest


blog comments powered by Disqus

Similar Posts

SomeCoders.com: Member Managment System Using PHP, AJAX and script.aculo.us (Part 3)

Stefan Mischook's Blog: PHP Video Tutorial: PHP Loops

ProDevTips.com: Table of contents for Working with Doctrine

Vexxblog: How to convert/encode files to FLV using FFMPEG & PHP

SitePoint PHP Blog: Starting a New PHP Package The Right Way


Community Events





Don't see your event here?
Let us know!


language configure list version release opinion introduction unittest interview voicesoftheelephpant symfony framework threedevsandamaybe podcast conference api series community composer laravel

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework