'edited_question.php'

parent b01f07ae
......@@ -34,7 +34,7 @@
{
header('location:'.SITEURL.'admin/index.php?page=questions');
}
?><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>r><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
?>
<div class="main">
<div class="content">
<div class="report">
......@@ -53,7 +53,7 @@
unset($_SESSION['update']);
}
?>
<span class="name">Question</span><br />
<span class="name">Question</span>
<textarea name="question" required="true"><?php echo $question; ?></textarea> <br />
<script>
CKEDITOR.replace( 'question' );
......@@ -99,11 +99,8 @@
</select>
<br />
<span class="name">Reason</span><br />
<span class="name">Reason</span>
<textarea name="reason" ><?php echo $reason; ?></textarea>
<script>
CKEDITOR.replace( 'reason' );
</script>
<br />
<span class="name">Marks</span>
......@@ -121,7 +118,7 @@
<select name="faculty">
<?php
//Get Faculties from database
$tbl_name="tbl_class";
$tbl_name="tbl_faculty";
$query=$obj->select_data($tbl_name);
$res=$obj->execute_query($conn,$query);
$count_rows=$obj->num_rows($res);
......@@ -207,7 +204,7 @@
}
//Uploading if the file is valid
//first changing image name
$new_name='Exam_Question_Vijay_Thapa_'.$obj->uniqid();
$new_name='Beyond_Boundaries_Question_'.$obj->uniqid();
$image_name=$new_name.'.'.$ext;
//Adding Watermark to the image fie too
$source=$_FILES['image']['tmp_name'];
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment