<?php
require_once("MysqlMQ.class.php");
/* Creating Table of test - Begin */
$db = new MysqlMQ();
$db-> setSrv("localhost"); //Just one example, enter the your host address
$db-> setUsr("root"); //Just one example, enter the your database user
$db-> setPwd(""); //Just one example, enter the your database password
$db-> setDtb("test"); //Just one example, enter the your database name
$db-> setSQL("CREATE TABLE `table` (`id` INT(5) NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` VARCHAR(30) NOT NULL) ENGINE = INNODB");
echo $db-> mQuery() ? "Ok <br />" : $db-> getErr();
/* Creating Table of test - End */
?>
|