<?php
$mysql_host = "localhost";
$mysql_user = "fa2012";
$mysql_pass = "faadmin2012";
$mysql_db = "toramat";
$con = mysql_connect( $mysql_host,$mysql_user,$mysql_pass );
mysql_select_db($mysql_db);
$sql = "CREATE TABLE test (
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
a VARCHAR( 20 ) NOT NULL,
b VARCHAR( 20 ) NOT NULL,
c VARCHAR( 20 ) NOT NULL,
d VARCHAR( 20 ) NOT NULL,
e VARCHAR( 20 ) NOT NULL
)";
$qry = mysql_query($sql);
?>
Tag : PHP, MySQL, HTML/CSS, JavaScript, Ajax, jQuery