【php开源代码栏目提醒】:网学会员为广大网友收集整理了,admin_mem_del.php,希望对大家有所帮助!
<?
$link=mysql_connect('localhost','root','123456');
my
sql_select_db('flower');
$str="select * from udata;";
$result=
mysql_query($str,$link);
?>
<style type="text/css">
<!--
.style1 {font-size: 12px}
-->
</style>
<table width="800" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="80" colspan="4" valign="top"><img src="photo/background.jpg" width="758" height="80"></td>
</tr>
<tr>
<td height="18" colspan="4" valign="top"><img src="photo/background1.jpg" width="758" height="18" border="0" usemap="#Map"></td>
</tr>
<tr>
<td width="143" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="124" height="24"> </td>
</tr>
<tr align="center" valign="middle">
<td height="131"><p><a href="admin_mem.php" class="style1">浏览</a> </p>
<p><a href="admin_mem_add.htm" class="style1">添加</a></p>
<p><a href="admin_mem_del.php" class="style1">删除</a></p>
<p><a href="admin_mem_modify_2.php" class="style1">修改</a></p></td>
</tr>
<tr>
<td height="145"><div align="center"><a href="index.php" class="style1">退出</a></div></td>
</tr>
</table></td>
<td width="19" height="28"> </td>
<td width="575"> </td>
<td width="63"> </td>
</tr>
<tr>
<td height="272"> </td>
<td valign="top"><div align="right"></div>
<div align="right">
<form name="form1" method="post" action="admin_mem_del_1.php">
<table width="643" border="1" align="left">
<tr>
<td colspan="13"><div align="center">删除
会员</div></td>
</tr>
<tr>
<td width="20"><div align="center"><span class="style1">删除</span></div></td>
<td width="30"><div align="center"><span class="style1">账号</span></div></td>
<td width="30"><div align="center"><span class="style1">密码</span></div></td>
<td width="30"><div align="center"><span class="style1"></span></div></td>
<td width="30"><div align="center"><span class="style1">昵称</span></div></td>
<td width="30"><div align="center"><span class="style1">性别</span></div></td>
<td width="60"><div align="center"><span class="style1">出生日期</span></div></td>
<td width="60"><div align="center"><span class="style1">电子邮件</span></div></td>
<td width="60"><div align="center"><span class="style1">家中电话</span></div></td>
<td width="60"><div align="center"><span class="style1">行动电话</span></div></td>
<td width="60"><div align="center"><span class="style1">传真电话</span></div></td>
<td width="97"><div align="center"><span class="style1">发票邮寄地址</span></div></td>
</tr>
<? while ($row=mysql_fetch_array($result,MYSQL_NUM)){?>
<tr>
<td><input name="del[]" type="checkbox" id="userdata_id_number3" value="<? echo $row[0];?>"></td>
<td><span class="style1"><? echo $row[0];?></span></td>
<td><span class="style1"><? echo $row[1];?></span></td>
<td><span class="style1"><? echo $row[2];?></span></td>
<td><span class="style1"><? echo $row[3];?></span></td>
<td><span class="style1"><? echo $row[4];?></span></td>
<td><span class="style1"><? echo $row[5];?></span></td>
<td><span class="style1"><? echo $row[6];?></span></td>
<td><span class="style1"><? echo $row[7];?></span></td>
<td><span class="style1"><? echo $row[8];?></span></td>
<td><span class="style1"><? echo $row[9];?></span></td>
<td><span class="style1"><? echo $row[10];}?></span></td>
</tr>
</table>
<p> </p>
<p> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="left">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重设">
</p>
</form>
</div></td>
<td> </td>
</tr>
<tr>
<td height="2"></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="241,1,285,19" href="admin_mem.php">
<area shape="rect" coords="291,1,362,18" href="admin_browse.php">
<area shape="rect" coords="376,1,442,19" href="admin_order.php">
<area shape="rect" coords="456,1,505,19" href="admin_board.php">
<area shape="rect" coords="520,1,592,20" href="admin_company.php">
</map>