>All Tutorials 
Ajax and .NET Ajax and .NET RSS XML
Ajax and ColdFusion Ajax and ColdFusion RSS XML
Ajax and Java Ajax and Java RSS XML
Ajax and PHP Ajax and PHP RSS XML
Ajax and SOA Ajax and SOA RSS XML
Ajax Goodies Ajax Goodies RSS XML
Ajax Tool Ajax Tool RSS XML
Facebook MockAjax Facebook MockAjax RSS XML
Google Web Toolkit Google Web Toolkit RSS XML
JavaScript Framework JavaScript Framework RSS XML
Ruby on Rails Ruby on Rails RSS XML
Technique Introduction Technique Introduction RSS XML
Without XMLHttpRequest Without XMLHttpRequest RSS XML
Yahoo! UI Yahoo! UI RSS XML

Ajax/PHP Shoutbox Tutorial - file function shoutbox database php content connection data

 
Registered tutorials: 501
Registered Users: 26671



Rating: 4.11 out of 9 votes cast


  
Category: Ajax and PHP

Ajax/PHP Shoutbox Tutorial

Digg this   Post to del.icio.us

Abstract: Description: This is a tutorial on how to make an Ajax powered shoutbox. As because it is an Ajax powered, there are no iframe involve and the update of the shoutbox content is almost instant. Skills Required Basic knowledge of: Ajax, javascript,PHP,MySQL

This is a tutorial on how to make an Ajax powered shoutbox. As because it is an Ajax powered, there are no iframe involve and the update of the shoutbox content is almost instant.

Skills Required
Basic knowledge of : Ajax, javascript, PHP, MySQL, html

First, you need to have a table in the database which store the shouter’s info and the shout content. The table consist of:

  1. An ID which acts as the primary key
  2. Shouter’s Name
  3. Shout Date/Time
  4. Shout Content
  5. Shouter’s Contact

copy and paste in the MySQL and run

CREATE TABLE `shoutbox` (
  `id` int(5) NOT NULL auto_increment,
  `name` varchar(50) NOT NULL default '',
  `date` datetime NOT NULL default '0000-00-00 00:00:00',
  `content` varchar(255) NOT NULL default '',
  `link` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`)
);
  

Read Full Tutorial...



Reviews:

Rate and Review This Site

2007-02-15 10:30:07
a good tutorial afterall




Statistic Information About this Resource:


Total Hits: 2217
Unique Hits: 1803


  Daily Weekly Monthly
  Unique Total Unique Total Unique Total
Average 1.4 1.9 9.8 12.4 86.9 109.8
Current 2 4 9 13 41 54
Previous 0 0 11 14 55 68
Aug 28 2 3 7 9 147 180
Aug 27 1 1 11 15 0 0
Aug 26 1 2 0 0 219 291
Aug 25 3 3 11 13 75 95
Aug 24 1 2 12 14 111 144
Aug 23 2 2 10 15 0 0
Aug 22 2 2 18 22 103 117
Aug 21 0 0 9 9 118 149
Highest 17 24 60 83 219 291


Script Execution Time: 0.90133 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2