The error output should provide you with the line where it occurred. That is definitely useful when troubleshooting problems.
Anyway, right here...
else if ($_POST["uname"] < Username)
...you are referencing "Username", but it's not in quotes and doesn't have a $ in front of it, indicating it's a variable. Since it's not in quotes and doesn't have a dollar sign, its syntax matches that of a constant. If you had a constant defined as Username, it would be evaluated in this operation. But there isn't a definition for one, so PHP has an issue with it. What it tries to do (as mentioned in the error message) is assume you meant 'Username' (note the quotes), meaning it thinks you meant the string 'Username'.
What you probably meant was $Username or $uname, since I don't see a $Username variable declared in your code snippet.