When the user is banned it should echo out the banned echo but instead it echo\'s out the Failed login echo, Somewhere along the line I\'ve messed something up if someone could
I think it must be
if ($status[0] == 1) { // code }