hmm ok here is what i have:
index.php:
<body bgcolor="#66CCCC">
<div id="Layer1">
<form action="/choice.php" method="post">
<table width="151" height="175" border="0">
<tr>
<td height="39"><div align="center">
<input type="button" name="choice" value="New" />
</div></td>
</tr>
<tr>
<td><div align="center">
<input type="button" name="choice" value="Update" />
</div></td>
</tr>
<tr>
<td><div align="center">
<input type="button" name="choice" value="Delete" />
</div></td>
</tr>
<tr>
<td><div align="center">
<input type="button" name="choice" value="Reports" />
</div></td>
</tr>
<tr>
<td><div align="center">
<input type="button" name="choice" value="Exit" />
</div></td>
</tr>
</table>
</form>
</div>
choive.php:
<?php
$page = (empty($POST['page']) || !isset($POST['page'])) ? header('Location: mybutton.html') : $_POST['page'];
switch($page)
{
case 'New':
header('Location: mypersonalpage.html');
break;
case 'Update':
header('Location: myfinancepage.html');
break;
case 'Delete':
header('Location: mysocialpage.html');
break;
case 'Reports':
header('Location: mysocialpage.html');
break;
case 'Exit':
header('Location: mysocialpage.html');
break;
}
?>
ok when a button is click i get no response.