Files
ProgressQuest/www/db.php
T
Eric Fredricksen d3bba84017 This is an ex post facto rendering of pq6 in its various versions in
svn, so that changes will be trackable thataway.

As checked in, right here, this is PQ 6.0
2006-12-24 16:42:50 +00:00

23 lines
644 B
PHP

<?
mysql_connect('localhost','progressquest','placenta') or die("Unable to connect");
mysql_select_db("progressquest")
or die("Unable to select db");
mysql_query("
CREATE TABLE IF NOT EXISTS pqhi (
name char(30) NOT NULL,
passkey int(11) NOT NULL,
race char(30) default NULL,
class char(30) default NULL,
level int(11) default NULL,
plot char(30) default NULL,
item char(50) default NULL,
spell char(30) default NULL,
stat char(10) default NULL,
motto char(50) default NULL,
stamp timestamp default NULL,
stigma tinyint default 0 )
")
or die(mysql_error());
?>