<form name="form1" method="post" action="">
<table width="100%" border="0">
<?php do { ?>
<tr>
<td height="52"><?php echo $row_accountinformation['deviceID']; ?></td>
<td height="52"><?php echo $row_accountinformation['idc']; ?></td>
<td height="52"><?php echo $row_accountinformation['ip']; ?></td>
<td height="52"><?php echo $row_accountinformation['account']; ?> <span class="style11"><?php echo $row_accountinformation['type']; ?></span> </td>
<td height="52">删除</td>
<td height="52"><?php echo $row_accountinformation['time']; ?></td>
<td height="52"><?php echo $row_accountinformation['day']; ?></td>
</tr>
<?php } while ($row_accountinformation = mysql_fetch_assoc($accountinformation)); ?>
</table>
</form>

我想实现的功能就是点击 删除 后,可以把这段记录删除掉.
我现在大概的想法是
<form name="form1" method="post" action="">
<table width="100%" border="0">
<?php do { ?>
<tr>
<td height="52"><?php echo $row_accountinformation['deviceID']; ?></td>
<td height="52"><?php echo $row_accountinformation['idc']; ?></td>
<td height="52"><?php echo $row_accountinformation['ip']; ?></td>
<td height="52"><?php echo $row_accountinformation['account']; ?> <span class="style11"><?php echo $row_accountinformation['type']; ?></span> </td>
<td height="52"><a href="./delete.php">删除</a></td>
<td height="52"><?php echo $row_accountinformation['time']; ?></td>
<td height="52"><?php echo $row_accountinformation['day']; ?></td>
</tr>
<?php } while ($row_accountinformation = mysql_fetch_assoc($accountinformation)); ?>
</table>
</form>
点删除后,转到delete.php. 这里面存放一条sql 删除语句就可以了.
现在就是不知道应该怎么把参数传递到delete.php 这个文件里.
请大家多多指点