chat

PHP Shoutbox

PHP shoutbox

Creating a shoutbox using PHP

I have seen a shoutbox described as a chat application to a guestbook. I do not consider a shoutbox a chat application, I think it's more of a simple comment system. Visitors to your website can quickly leave feedback without having to register for chat or a forum and they do not have to answer all the questions that would normally be in a guestbook. Creating a shoutbox with PHP and MySQL is not very difficult.

First create a table to hold the shoutbox data:

CREATE TABLE myshout (
shoutid int(4) NOT NULL auto_increment,

Design an Online Chat Room with PHP and MySQL

Design an Online Chat Room with PHP and MySQL by Rory Canyon

In this article, you will learn how to design and develop a simple online chat room with PHP and MySQL. This tutorial explains every steps of the development, including both database design and PHP programming. Basic computer skills and knowledge of HTML and PHP are required. Ok, let's begin now.

Step 1: Design Database Table.

Create table "chat" in MySQL database to store basic chat information: chtime (chat time), nick (user nickname) and words (chat message, less than 150 characters)

mysql> CREATE TABLE chat

Syndicate content