News Feed
Jobs Feed
Sections




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

DevArticles:
Building an AJAX-Based Chat - Interacting With a Database
November 22, 2005 @ 06:02:16

Our sister site, AjaxDeveloper.org, has posted about the last in the series from DevArticles about the creation of an Ajax-based chat with the help of PHP.

In this third and final part of a tutorial that explains how to build an AJAX-based chat application, Alejandro Gervasio covers creating the PHP files that directly interact with a MySQL database, adding and fetching chat messages. He also makes some suggestions for expanding the functions of the application.

All of the code is done in PHP, so it's pretty simple to get working (even if you need to translate it over). It basicly inserts each message into the DB and then pulls it back out to display the latest messages...

1 comment voice your opinion now!
ajax chat database ajax chat database


blog comments powered by Disqus

Similar Posts

PlentyofCode.com: J2EE vs ASP.NET vs PHP

PHPMaster.com: More Bulletproofing with PHPUnit’s Database Extension

Bradley Holt: Entity Relationships in a Document Database at ZendCon 2012 (Video & Slides)

Derick Rethans' Blog: Distributions: Please Don't Cripple PHP or Red Hat: Stop Fucking Around

DevShed: Rich Internet Applications - Introduction to Adobe Flex and PHP


Community Events











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


code application overview facebook release hhvm component package unittest install framework podcast composer symfony2 security example language opinion hack introduction

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