Why can\'t I create table from PHP. I checked the query in MySQL monitor and it creates a table. When I try to create a table with a same query from PHP it is not created.
Why is that?
$sql = \"CREATE TABLE tablename (name VARCHAR(16), surname VARCHAR(16))\";
$result = mysql_query($sql);
This is not working.
Thanx
Blaz
Why is that?
$sql = \"CREATE TABLE tablename (name VARCHAR(16), surname VARCHAR(16))\";
$result = mysql_query($sql);
This is not working.
Thanx
Blaz