Are you a regular stikked user? Signup so you can keep track of your pastes!
  1.         function UserExist($user){
  2.                 $this->db->select('username');
  3.                 $this->db->from('users');
  4.                 $this->db->where('username', $user);
  5.        
  6.                 $q = $this->db->get();
  7.        
  8.                 if($q->num_rows() == 1){
  9.                         return TRUE;
  10.                 } else {
  11.                         return FALSE;
  12.                 }
  13.        
  14.         }

Reply to "UserExist"

Here you can reply to the paste above

Create a snipurl

Make Private

Feeling clever? Set some advanced options.