Menu
hey all,
i racking my brains and im sure its a simple solution.
im wanting to create a table on the database using the username varible from the form and all im getting is a table named “$username”
[code=php]$query = ‘CREATE TABLE $username( ‘.
‘cid INT NOT NULL AUTO_INCREMENT, ‘.
‘username VARCHAR(45) NOT NULL,’.
‘password VARCHAR(15) NULL,’.
‘saying VARCHAR(20) NOT NULL, ‘.
‘name VARCHAR(50) NOT NULL, ‘.
‘address VARCHAR(30) NOT NULL, ‘.
‘sex TEXT NOT NULL, ‘.
‘PRIMARY KEY(cid))’;
if any one can help me out it would be great