Commit b20909c7 by Jansa Jose

withdrawal1

parent 5671a3cf
......@@ -3446,7 +3446,7 @@ class Webservice_model extends CI_Model {
$data['status'] = '0';
if($this->db->insert('tbl_withdrawal_history',$data)){
$last = $this->db->insert_id();
$res = $this->db->get_where('tbl_withdrawal_history',array('id'=>$last));
$res = $this->db->get_where('tbl_withdrawal_history',array('id'=>$last))->row();
$result = array('status'=>'success','data'=>$res);
}else{
$result = array('status'=>'failed','message'=>'Something Went Wrong.. Try Again Later !');
......
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