|
|
@@ -17,7 +17,7 @@ if (!(empty ($_POST['thread-name']))) |
|
|
|
|
|
|
|
$result -> close (); |
|
|
|
|
|
|
|
$sql = "INSERT INTO threads (id, title, `explain`, latest, length) VALUES ($current, '{$_POST['thread-name']}', '$explain', '" . date ('Y-m-d H:i:s') . "', 0)"; |
|
|
|
$sql = "INSERT INTO threads (title, `explain`, latest, length) VALUES ('{$_POST['thread-name']}', '$explain', '" . date ('Y-m-d H:i:s') . "', 0)"; |
|
|
|
$mysqli -> query ($sql); |
|
|
|
/* $sql = "CREATE TABLE `miteruzo_bbs`.`thread_$current` ( |
|
|
|
`id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT 'レス番', |
|
|
|