<?php
#############################################################################
# A simple PHP/MySQL guest book
#  written by Jim Auldridge
#
# Obtained for free at http://www.christian-web-masters.com/
#
# Please read entire "readme" file, else do not continue!
#
#############################################################################
require("functions.php");
$buildDB = new MySQL_class();
$buildDB->Connect("");
$buildDB->Query("CREATE TABLE gBook (id smallint(5) unsigned NOT NULL auto_increment,date varchar(30) NOT NULL default '',name varchar(50) NOT NULL default '',email varchar(50) NOT NULL default '',comment text NOT NULL,PRIMARY KEY  (id) )TYPE=MyISAM;");
echo "<p style=\"color: red;font-size: 20px;\">Your database for the Guest Book has been created.<br />For security, you should delete this file (db_build.php) NOW!</p>";
?>
