Guest User

Untitled

a guest
Jul 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. $query = "SELECT COUNT(*) FROM konta
  2. WHERE email='".$fieldsFromForm['email']."'";
  3. if($result = $this->dbo->query($query)){
  4. $rows = $result->num_rows;
  5. if($rows>0){
  6. return USER_NAME_ALREADY_EXISTS;
  7. }
  8. }
Add Comment
Please, Sign In to add comment