Commit 6829625e by Jansa Jose

location

parent 8dbc9239
......@@ -786,8 +786,9 @@ class Webservice_model extends CI_Model {
public function insert_uid_patient($data){
$data['is_registration_completed'] = 0;
$this->db->insert('tbl_registration',$data);
$data['name'] = encrypt_data($data['name']);
$this->db->insert('tbl_registration',$data);
$insertid = $this->db->insert_id();
// $this->db->select("tbl_registration.*,CAST(AES_DECRYPT(`tbl_registration.dob`,'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA') as CHAR) as dob_new");
$query_userdatas = $this->db->get_where("tbl_registration",array("id"=>$insertid));
......
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