Home  >  Article  >  Backend Development  >  ,一个简单的数据读取显示有关问题!

,一个简单的数据读取显示有关问题!

WBOY
WBOYOriginal
2016-06-13 10:29:36830browse

求助,一个简单的数据读取显示问题求助!!
如下用echo能输出字段值,但是用下面

里面就是无法读取出来,请问什么原因,谢谢?环境是win2003+iis6+isapi+php5.2.17+mysql5.1

  $query_news="sql语句"
while ($row_news = mysql_fetch_assoc($result_news)){
echo $row_news["content_id"]; //能正确读取出字段值
echo $row_news["news_content_title"]; //能正确读取出字段值
?>
 
  ,一个简单的数据读取显示有关问题!
  ">=$row_news["news_content_title"]?>  
 



------解决方案--------------------
这是短标签的事情,的确和服务器配置有关系.不过推荐你使用完整的标签方法 也就是
探讨

">=$row_news["news_content_title"]?>
这样无法读取出数据
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