Huh???? $query = "CREATE TABLE mytable (". "field1 int,". "field2 varchar(50),". "field3 decimal(6,2),". "field4 int,". "field5 int )";
mysql_query($query) or die("Error: ".mysql_error()); -----Original Message----- From: CrossWalkCentral [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 12:26 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Need smoe code examples on creating tables for mysql in php Need some code examples on creating tables for mysql in php can any one help me on this . I searched the php.net site and only found info on creating a database I just want to create a php script that will make 2 tables with lets say 5 fields each in them. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php