ALTER TABLE `dede_diyforms` ADD `mytime` VARCHAR(200) NOT NULL AFTER `public`; |
$sql = "Select `diyid`,`name`,`table`,`mytime` From dede_diyforms order by diyid asc"; |
$query = "INSERT INTO `{$diy->table}` (`id`, `ifcheck` $addvar) VALUES (NULL, 0 $addvalue); "; |
//客户提交同时,更新主表中的时间 $sql= "UPDATE `dede_diyforms` SET mytime = '$mytime' WHERE `dede_diyforms`.table='{$diy->table}'"; $dsql->ExecuteNoneQuery2($sql); |