Commit dc15cb19 by Jansa Jose

booking payment

parent 996e9604
...@@ -511,9 +511,9 @@ function insertVacation($request) ...@@ -511,9 +511,9 @@ function insertVacation($request)
function update_profile($id,$data) function update_profile($id,$data)
{ {
$date_of_birth = $data['dob']; //$date_of_birth = $data['dob'];
unset($data['dob']); //unset($data['dob']);
print_r($id);exit();
$this->db->where('tbl_registration.id',$id); $this->db->where('tbl_registration.id',$id);
if($this->db->update('tbl_registration',$data)) if($this->db->update('tbl_registration',$data))
...@@ -522,7 +522,7 @@ function update_profile($id,$data) ...@@ -522,7 +522,7 @@ function update_profile($id,$data)
$this->db->query("update tbl_registration set dob = AES_ENCRYPT(".$date_of_birth.",'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA')where id = ".$id); //$this->db->query("update tbl_registration set dob = AES_ENCRYPT(".$date_of_birth.",'Ptf/PWNWrULQT72syxfaaBRTS9JbiKrj9dfuVEvT3rA')where id = ".$id);
$result = array('status' => 'success'); $result = array('status' => 'success');
......
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