日期:2014-05-16 浏览次数:20435 次
<a class="np coolbg" href="student_voice.php?do=add">添加考试</a>
if($_GET['do']=='add'){
include DedeInclude('templets/student/student_voice_add.htm');
$id = $_POST['username'];
$email = $_POST['email'];
$content = $_POST['content'];
$time = date('Y-m-d H:i:s');
$category = $_POST['category'];
$flag = $_POST['flags'];
$flags=implode(",",$flag);
$checked = $_POST['checked'];
//echo $id."<br/>".$email."<br/>".$content."<br/>".$time."<br/>".$category."<br/>".$flags."<br/>".$checked;
$sql = "INSERT INTO djs_skstudent_voice (username ,content ,time ,category ,checked ,email ,flag)VALUES ('$id','$content', '$time' , '$category', '$checked','$email','$flags')";
$dsql->ExecuteNoneQuery($sql);