php可以写入数据无法读取数据库(读取代码),求助!!!
<?php
include("conn.php");
?>
<table width="678" border="1" align="center" cellpadding="1" cellspacing="1">
<?
$sql="select * from message";
$query= mysql_query($sql);
while($row= mysql_fetch_array($query))
{
?>
<tr>
<td width="178">用户:<? echo $row[user] ?></td>
<td width="223">标题:<? echo $row[title] ?></td>
</tr>
<td colspan="4">内容:<? echo $row[content]?></td>
</tr>
<?
}
?>
</table>
------解决方案--------------------<tr>
<td width="178">用户:<?
php echo $row[user] ?></td>
<td width="223">标题:<?
php echo $row[title] ?></td>
</tr>
<td colspan="4">内容:<?
php echo $row[content]?></td>