【php开源代码栏目提醒】:网学会员为需要php开源代码的朋友们搜集整理了admin_board_del_1.php相关资料,希望对各位网友有所帮助!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>无标题ゅン</title>
<style type="text/css">
<!--
.style1 {font-size: 12px}
.style2 {font-size: 12}
-->
</style>
</head>
<body>
<table width="800" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="80" colspan="3" valign="top"><img src="photo/background.jpg" width="758" height="80"></td>
</tr>
<tr>
<td height="18" colspan="3" valign="top"><img src="photo/background1.jpg" width="758" height="18" border="0" usemap="#Map"></td>
</tr>
<tr>
<td width="189" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="15" height="14"> </td>
<td width="148"> </td>
<td width="26"> </td>
</tr>
<tr>
<td height="36"> </td>
<td valign="top"><div align="center" class="style1">恨瞶</div></td>
<td> </td>
</tr>
<tr>
<td height="17"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="89"> </td>
<td align="center" valign="middle"><p class="style1"><a href="admin_addbull.htm">穝糤痙ē</a></p>
<p class="style1"><a href="admin_board_del.php">删埃痙ē</a></p>
<p class="style1"><a href="admin_mobull.php">э</a><a href="admin_bull.php">痙ē</a></p></td>
<td> </td>
</tr>
<tr>
<td height="144"> </td>
<td><div align="center"><a href="index.php" class="style1">猔销</a></div></td>
<td> </td>
</tr>
</table></td>
<td width="574" height="28"> </td>
<td width="37"> </td>
</tr>
<?
$link=mysql_connect('localhost','root','123456');
mysql_select_db('flower');
$num=count($del);
for($i=0;$i<$num;$i++){
$str="delete from board where board_no='".$del[$i]."';";
$result=my
sql_query($str,$link);
}
$str="select * from board;";
$result=
mysql_query($str,$link);
?>
<tr>
<td rowspan="2" valign="top"><table width="494" border="1" align="center">
<tr>
<td colspan="6"><div align="center" class="style2">
<div align="center">删埃痙ē</div>
</div></td>
</tr>
<tr>
<td width="38"><div align="center"><span class="style2">编号</span></div></td>
<td width="133"><div align="center"><span class="style2">题</span></div></td>
<td width="51"><div align="center"><span class="style2">晤称</span></div></td>
<td width="51"><div align="center"><span class="style2">内甧</span></div></td>
<td width="113"><div align="center"><span class="style2">时间</span></div></td>
</tr>
<? while ($row=mysql_fetch_array($result,MYSQL_NUM)){?>
<tr>
<td><div align="center"><span class="style2"><? echo $row[4];?></span></div></td>
<td><div align="center"><span class="style2"><? echo $row[0];?>;</span></div></td>
<td><div align="center"><span class="style2"><? echo $row[1];?></span></div></td>
<td><div align="center"><span class="style2"><? echo $row[2];?>;</span></div></td>
<td><div align="center"><span class="style2"><? echo $row[3];?></span></div></td>
</tr>
<? }?>
</table> <p align="center" class="style1"> </p>
<p> </p></td>
<? mysql_close($link);?>
<td height="394"> </td>
</tr>
<tr>
<td height="2"></td>
<td></td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="243,1,289,20" href="admin_mem.php">
<area shape="rect" coords="291,1,365,20" href="admin_browse.php">
<area shape="rect" coords="370,1,445,20" href="admin_order.php">
<area shape="rect" coords="450,1,513,19" href="admin_board.php">
<area shape="rect" coords="515,1,591,22" href="admin_company.php">
</map>
</body>
</html>