Direktori : /home/rizant5/public_html-1210/student/ |
Current File : /home/rizant5/public_html-1210/student/question-ajax.php |
<?php require_once("../config.php"); $text=htmlspecialchars($_POST['question'],ENT_QUOTES);//$_POST['question']; $conn->exec('insert into question (topic_id,stu_id,datetime,text) values ("'.$_POST['topic_id'].'","'.$_SESSION['userid'].'",NOW(),"'.$text.'")'); ?>