Commit babf54d5 by Manoj

changes

parent f2258ff4
...@@ -2407,6 +2407,7 @@ class ApplicationController extends CI_Controller ...@@ -2407,6 +2407,7 @@ class ApplicationController extends CI_Controller
public function questionEdit($id){ public function questionEdit($id){
if(isset($_POST['submit'])){ if(isset($_POST['submit'])){
$academic = $this->input->post('academic'); $academic = $this->input->post('academic');
...@@ -2433,8 +2434,10 @@ class ApplicationController extends CI_Controller ...@@ -2433,8 +2434,10 @@ class ApplicationController extends CI_Controller
'option_d' => $option_d, 'option_d' => $option_d,
'answer' => $answer, 'answer' => $answer,
); );
// print_r($id);
// print_r( $update_array);exit;
$update = $this->mcommon->common_update('question',$update_array, array('id'=> $id) ); $update = $this->mcommon->common_edit('question',$update_array,array('id' => $id));
if ($update) { if ($update) {
......
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