How to create a MySQL table with PHP?
How to create a MySQL table with PHP?
that is very simple..
see an example...
<?php
$con=mysql_connect('localhost','yourusername','yourpassword');
mysql_select_db('yourdatabasename',$con);
$query="create table emp(ename varchar(30))";
mysql_query($query,$con);
echo "ok!! Table has created now n";
?>
------------------
SR -
webshiju.com
"The fear of the LORD is the beginning of knowledge..."
[This message has been edited by Shiju Rajan (edited July 03, 2000).]