时间:2021-07-01 10:21:17 帮助过:48人阅读
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
$q1 = $_REQUEST['q1'];
$addtime = time();
$insert_array = array(
'baankid'=>$q1,
);
$cone = DB::insert('pre_xyk',$insert_array);
?>
require './source/class/class_core.php';
C::app()->init();
$insert_array = array(
'classname'=>'test',
'uid'=>1,
'dateline'=>time()
);
if(DB::insert('home_class',$insert_array)){
echo 'ok';
}/*
ok
*/