我使用下面的表格,但是當我按下提交按鈕它並不導航到不同的頁面提交按鈕不工作
<form id="form1" name="form1" method="post" action="">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4" align="right">
</td>
</tr>
<tr>
<td colspan="4">
<?php display_msg(); ?></td>
</tr>
<tr>
<th width="26%" style="padding-left:5px"><a href="?page=<?php echo $page_number; ?>&<?php echo $name; ?>">Name</a></th>
<th width="40%"><a href="?page=<?php echo $page_number; ?>&<?php echo $email; ?>">Email</a></th>
<th width="7%"> </th>
<td colspan="5" align="center" bgcolor="#FFFFFF"><input type="submit" name="delete" value="Delete"></td>
<?php
// Check if delete button active, start this
if($delete){
echo "<meta http-equiv=\"refresh\" content=\"0;URL=del.php\">";
}
?>
爲什麼不將delete.php設置爲表單的動作? – Belinda 2011-03-23 15:00:14