MySQL Tables
Posted: Mon Jul 15, 2002 9:16 am
How to I create MySQL tables trough PHP. I am looking for a command here, not a way of running a text file with the information. That I know how to. I was looking for a PHP command to do this.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
mysql_create_table('tablename');Code: Select all
$sql = "CREATE TABLE test (blob_col BLOB, INDEX(blob_col(10)))";
mysql_query($sql) or die(mysql_error());