00001 <?php
00002 include("db.php");
00003 $test = new DB;
00004 $test->manualConnect("test", "root", "");
00005
00006 if ($test->query("CREATE TABLE test (
00007 test1 text,
00008 test2 integer
00009 )
00010 ")) {
00011 echo "Sucessfully created a table.";
00012 }
00013 else { echo "Failed to create a table."; }
00014
00015
00016 $test->disconnect();
00017 ?>