Advertisement
Wessel

Untitled

Apr 22nd, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1.     public function isUserSetup($id){
  2.             $query = $this->db->get_where('Persooninfo', array('UserID' => $id));
  3.             $result = $query->row_array();
  4.             $count = $result['COUNT(*)'];
  5.             if($count == 1){
  6.                 return true;
  7.             }
  8.             return false;
  9.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement