Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\wamp\www\bbs1\list.php on line 8
<?php
include("conn.php");
?>
<table width=500 border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#add3ef">
<?
$sql="select * form message order by id desc";
$query=mysql_query($sql);
while($row=mysql_fetch_array($query) ){
?>
<tr bgcolor="#eff3ff">
<td>标题:<?=$row[title]?> 用户: <?=$row[user]?></td>
</tr>
<tr bgcolor="#ffffff">
<td>内容:<?=$row[content]?></td>
</tr>
<?
}
?>
</table>
帮下忙 谢谢了