Why Worpdress doesn’t create table in database?
SQL is fairly temperamental syntax, not sure if it will make a difference but try adding the missing space before ( and removing ; from the end: $sql = “CREATE TABLE ” . $table_name . ” ( id BIGINT(25) NOT NULL AUTO_INCREMENT, time datetime DEFAULT ‘0000-00-00 00:00:00’ NOT NULL, videoname VARCHAR(255) NOT NULL, video-des VARCHAR(255) … Read more