Direktori : /home/rizant5/www/student/ |
Current File : //home/rizant5/www/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.'")'); ?>