0){ $row = mysqli_fetch_array($sql_logins); $data['found'] = "TRUE"; $data['username'] = htmlentities($row['login_username']); $data['password'] = decryptLoginEntry($row['login_password']); echo json_encode($data); } } //TODO: Future work:- // - Check user has permission to this client // - Showing multiple logins for a single URL