Mini Shell

Direktori : /home/rizant5/public_html_old/development/admin/
Upload File :
Current File : /home/rizant5/public_html_old/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'");
?>

Zerion Mini Shell 1.0