Hello I have been encountering this bug for a long time. So basically here is by code:
function loginUser($conn, $username, $password) { $checkExists = checkExists($c