Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $query = "SELECT COUNT(*) FROM konta
- WHERE email='".$fieldsFromForm['email']."'";
- if($result = $this->dbo->query($query)){
- $rows = $result->num_rows;
- if($rows>0){
- return USER_NAME_ALREADY_EXISTS;
- }
- }
Add Comment
Please, Sign In to add comment