jd2007 Posted July 26, 2007 Share Posted July 26, 2007 i did this: $queryb="CREATE TABLE $table ( date DATETIME, sender varchar(30), subject text(50), message text(3000) )"; $resultb=mysql_query($query2) or die(mysql_error()); is it ok ? Link to comment https://forums.phpfreaks.com/topic/61797-solved-can-i-create-a-mysql-table-using-php/ Share on other sites More sharing options...
Trium918 Posted July 26, 2007 Share Posted July 26, 2007 Yes you can, but I don't know the syntax. Try yours and see. Link to comment https://forums.phpfreaks.com/topic/61797-solved-can-i-create-a-mysql-table-using-php/#findComment-307716 Share on other sites More sharing options...
jd2007 Posted July 26, 2007 Author Share Posted July 26, 2007 it works... Link to comment https://forums.phpfreaks.com/topic/61797-solved-can-i-create-a-mysql-table-using-php/#findComment-307729 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.