Home >Backend Development >PHP Tutorial >php可以写入数据无法读取数据库(读取代码),求助!!!

php可以写入数据无法读取数据库(读取代码),求助!!!

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 14:14:08918browse


include("conn.php");
?>



$sql="select * from message"; 

$query= mysql_query($sql);

while($row= mysql_fetch_array($query))
{
?>
  
    
    
  

    
  
  
  }
  ?>
用户: echo $row[user] ?> 标题: echo $row[title] ?>
内容: echo $row[content]?>













回复讨论(解决方案)


    用户: php echo $row[user] ?>
    标题: php echo $row[title] ?>
  

    内容: php echo $row[content]?>
  

楼上正解

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn