I have a simple page that is driving me nuts. The purpose of the page is to display message, which it does and then take the user back to their respective menus.
The page is receiving and displaying my $_SESSION variable correctly. I have verified that it does with the echo statement.
So I know that is not the problem.
The problem seems to be the way I constructed the remaining two echo statements to reroute the user back to their respective menus.
The page will display with the button, but when I click on the button, nothing happens...booo!
Can someone be as so kind as to point out my error? I have posted the coding below...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd
s" rel="stylesheet" type="text/css" />
<table class="meologo" align="center"><tr><td>
<table class="msginfo" align="center"><tr><td>Thi
s option is not available yet.</td></tr>
// echo $_SESSION['UserType'];
if ($_SESSION['UserType'] == "A")
echo "<tr><td><button onclick='amenu.php'>Return
if ($_SESSION['UserType'] == "S")
echo "<tr><td><button onclick='smenu.php'>Return