PHP query CREATE statement won't create table, why?
$SMT = $db->query("CREATE TABLE activitytable (ActivityID INT NOT NULL AUTO_INCREMENT, UserID INT, UserName LONGTEXT NULL, UserIP TINYTEXT NULL, ServerCommand MIDIUMTEXT NULL, ActivityDescription LONGTEXT NULL)");
but it won't work, I keep getting error code 42000.
for php purpose, do you have to create tables manually yourself at the workbench utility?
Why is it that one cannot create tables dynamically?
Help
Subject
Written By
Posted
PHP query CREATE statement won't create table, why?
December 01, 2014 03:43AM
December 01, 2014 11:06AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.