Im trying to create tables in mysql dynamically in php
$usernametable="test".$usname;
$create = ("CREATE TABLE $usernametable(
id SMALLINT NOT NULL PRIMARY KEY,
test1 SMALLINT, test2 SMALLINT, test3 SMALLINT )");
$createtable = mysql_query($create, $conn)
or die ('Problem with query' . mysql_error());
It doesnt seem to work and i dont even get an error message. What seems to be the problem?