<?php require('config.php'); sql = "CREATE DATABASE IF NOT EXISTS " . SQL_DB; sql) or die(mysql_error()); mysql_select_db(SQL_DB, sql1 = <<<EOS CREATE TABLE IF NOT EXISTS ml_lists ( ml_id int(11) NOT NULL auto_increment, listname varchar(255) NOT NULL default '', PRIMARY KEY (ml_id) ) EOS; sql3 = <<<EOS CREATE TABLE IF NOT EXISTS ml_users ( user_id int(11) NOT NULL auto_increment, firstname varchar(255) default '', lastname varchar(255) default '', email varchar(255) NOT NULL default '', PRIMARY KEY (user_id) ) EOS; sql1) or die(mysql_error()); sql2) or die(mysql_error()); sql3) or die(mysql_error()); echo "Done."; ?>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.