Direktori : /proc/self/root/proc/thread-self/root/home/rizant5/www/development/admin/ |
Current File : //proc/self/root/proc/thread-self/root/home/rizant5/www/development/admin/update-answer.php |
<?php require_once("../config.php"); $chapter_id=$_POST['chapter_id']; $text=$_POST['answer']; $queid=$_POST['id']; $conn->exec("insert into answers (que_id,datetime,text) values ('$queid',NOW(),'$text')"); $conn->exec("update question SET check_status='1' where que_id='$queid'"); ?>