=0)){ $sql.=$table_name; $sql.=$command; if($con) { mysql_select_db($db, $con); #echo $sql; $result=mysql_query($sql,$con); if($result) { $msg.="Table $table_name create successfully."; $flag=0; } elseif(!$result) { $msg.="Unable to create table $table_name "; $msg.=mysql_error(); $flag=-1; } if($flag<0) $msg.="\n
Unable to create table   $table_name\n
Please Enter a valid database name to create"; mysql_close($con); } } ?> PHP Tutorial: Working with MySQL
Select database :   
Enter Table Name
Enter Table Structure using SQL commnads


"; } ?>