//$this->db->join('customer AS CUST','CUST.cust_id = USR.profile_id');
$result=$this->db->get_where('users AS USR',array('USR.username'=>$userLogData['user_email'],'USR.status'=>'1','USR.user_type'=>'1','USR.password'=>$userLogData['user_password']));
//$this->db->join('customer AS CUST','CUST.cust_id = USR.profile_id');
$emailChk=$this->db->get_where('users AS USR',array('USR.username'=>$postData['user_email'],'USR.status !='=>'2','USR.user_type'=>'1','USR.profile_id !='=>$postData['user_id']));
if(!empty($emailChk)&&$emailChk->num_rows()>0){
return2;
...
...
@@ -380,7 +368,9 @@ class Webservice_model extends CI_Model {