returnarray('status'=>0,'message'=>'Phone no already exists','code'=>'ER10');
}else{
returnarray('status'=>0,'message'=>'Something went wrong','code'=>'ER07');
}
}else{
$unique_id=uniqid().time();
...
...
@@ -98,7 +100,7 @@ class Api_model extends CI_Model {
$this->send_mail($subject,$email_id,$message);
$res=array('status'=>1,'data'=>'');
returnarray('status'=>1,'data'=>'');
// $this->db->select('customer.name,customer.dob,customer.phone,customer.email,customer.profile_image AS image,customer.gender,users.id AS userId, customer.city');
// $this->db->where('users.id',$id);
...
...
@@ -114,13 +116,12 @@ class Api_model extends CI_Model {
// $res = array('status'=>0,'message'=>'No record found','code'=>'ER13');