Creating tables on the fly

From: Date: Mon, 04 Dec 2000 18:58:54 +0000
Subject: Creating tables on the fly
Groups: php.db 
Request: Send a blank email to php-db+get-5010@lists.php.net to get a copy of this message
Dear All, At home I have MySQL 3.23.27 but at the server I will host my application the have version MySQL 3.22.19. This means that I cannot use a query like "CREATE TABLE $tblname SELECT * FROM $tblname_ant;", because as far as I know this was implemented just after version 3.23.* and MySQL running on the host server is returning and error message anyway. Which is the best way to create a new table on the fly using another one as a model with this restriction? Best regards, Fábio Ottolini

« previous php.db (#5010) next »