require_once('mysql.php');
$connection = mysql_connect($hostname_mysql,$username_mysql,$password_mysql) or die(mysql_error());
mysql_select_db($database_mysql, $connection) or die(mysql_error());
$sql = "create table tblWiki
(
entryID INT(11) auto_increment,
title TEXT,
pic TEXT,
entry TEXT,
author TEXT,
PRIMARY KEY(entryID)
)";
$result = @mysql_query($sql, $connection) or die(mysql_error());
if ($connection)
{
echo("Successful connection.");
}
if ($result)
{
echo("New table created.
");
}
?>