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

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

WBOY
Release: 2016-06-13 12:43:16
Original
841 people have browsed it

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

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]?>












Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template