[PHP-DB] CREATE TABLE $phpVariable_for_tableName --- help please!

2004-03-09 Thread AJ Seelund
i cant get this to work right, im building a comments for my blog. im pretty knowledgeable about php code and i am willing to listen, even though im still learning. my code in the php doc is as follows: 1 //select the db 2 $db = mysql_select_db($mydb) or die(db connect error); 3 $newTable =

Re: [PHP-DB] CREATE TABLE $phpVariable_for_tableName --- help please!

2004-03-09 Thread Jason Wong
On Wednesday 10 March 2004 15:11, AJ Seelund wrote: 11 //create a table 12 $sql = 'CREATE TABLE $newTable ( `daUser` VARCHAR( 255 ) NOT NULL ,' 13. ' `entryNumb` INT NOT NULL ,' 14. ' `priv` VARCHAR( 1 ) NOT NULL ,' 15. ' `comm` BLOB NOT NULL ,' 16. ' PRIMARY