<?php include("head.php");
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf8" />
<title>留言版</title>
</head>
<table width=500 border="0" cellpadding="5" cellspacing="1" bgcolor="#add3ef">
<?php
include("conn.php");$sql="SELECT * From lib";
$query= mysql_query($sql);$num=mysql_num_rows($query);
if(@$_GET['page']){
$page=$_GET['page'];
}
pager($num,5);
echo $pagenav;
$result=mysql_query("SELECT * FROM `lib` ORDER BY id DESC limit $select_from,$select_limit");
while($row=mysql_fetch_array($result)){
?> <tr bgcolor="silver">
<td><?php echo $row['ID']; ?>--标题:<?php echo $row['title']; ?></td>
<td><a href ="delete.php?ID ="<?php echo $row['ID']; ?> >删除</a></td>
</tr>
<tr bgcolor="teal">
<td>用户:<?php echo $row['user']; ?> </td>
</tr>
<tr bgcolor="blue">
<td >内容:<?php echo htmlcode($row['conect']); ?></td>
</tr> <?php } ?>
</table>
</body>
</html>
请大家帮忙看一下 <td><a href ="delete.php?ID ="<?php echo $row['ID']; ?> >删除</a></td>
我是用这来传递值的 怎么传递不了
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf8" />
<title>留言版</title>
</head>
<table width=500 border="0" cellpadding="5" cellspacing="1" bgcolor="#add3ef">
<?php
include("conn.php");$sql="SELECT * From lib";
$query= mysql_query($sql);$num=mysql_num_rows($query);
if(@$_GET['page']){
$page=$_GET['page'];
}
pager($num,5);
echo $pagenav;
$result=mysql_query("SELECT * FROM `lib` ORDER BY id DESC limit $select_from,$select_limit");
while($row=mysql_fetch_array($result)){
?> <tr bgcolor="silver">
<td><?php echo $row['ID']; ?>--标题:<?php echo $row['title']; ?></td>
<td><a href ="delete.php?ID ="<?php echo $row['ID']; ?> >删除</a></td>
</tr>
<tr bgcolor="teal">
<td>用户:<?php echo $row['user']; ?> </td>
</tr>
<tr bgcolor="blue">
<td >内容:<?php echo htmlcode($row['conect']); ?></td>
</tr> <?php } ?>
</table>
</body>
</html>
请大家帮忙看一下 <td><a href ="delete.php?ID ="<?php echo $row['ID']; ?> >删除</a></td>
我是用这来传递值的 怎么传递不了
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货