<div>
<?php
if (isset($_GET["error"])) {
if ($_GET["error"] == "emptyinput") {
***}***
else if ($_GET["error"] == "invaliduid") {
echo <p>Improper username</p>;
}
else if ($_GET["error"] == "invalidemail") {
echo <p>Choose a proper email</p>;
}
else if ($_GET["error"] == "pwdsdontmatch") {
echo <p>Passwords do not match</p>;
}
else if ($_GET["error"] == "stmtfailed") {
echo <p>Something went wrong. Try again.</p>;
}
else if ($_GET["error"] == "uidtaken") {
echo <p>Username taken</p>;
}
else if ($_GET["error"] == "none") {
echo <p>You are all signed up!</p>;
}
}
?>
</div>
I have bolded a character on the fifth line, which is where the error resigns. There is a syntax error that says 'syntax error, unexpected '<''. See, there is no < sign there. Thus, there is no visible way to fix the code. I am beyond confused and have tried anything and everything from removing singular <'s, to removing all of the <'s. This is a .php file and is supposed to be a signup page for a website. I have no clue what to do now. I'm lost in a code labyrinth with no map. If anyone has any idea on how to fix this, please let me know. Thank you.