PDA

View Full Version : How to create mytables from php



Archbob
October 30th, 2002, 20:56
Hey, how do you auto-create mysql tables from php commands?

Is it


<?

create table tablename ;

?>

dawizman
October 30th, 2002, 21:52
yes, but you forgot one thing, it looks like this:



mysql_query(create table tablename);

hohoho
October 31st, 2002, 03:18
dawizman, you forgot one thing,too :D

mysql_query("create table tablename");