php输出数据库信息,多了不该有的字符

WBOY
Release: 2016-06-23 13:57:50
Original
788 people have browsed it

<?php include('conn.php');  $result = mysql_query("SELECT * FROM data WHERE `grade`='大二' ORDER BY `downloads` DESC LIMIT 5");  $info=mysql_fetch_array($result);			    do{		echo $info['link']."<br>";        }  while($info=mysql_fetch_array($result)); ?>
Copy after login


然后输出

第一行的“?>”不应该有的呀,请问是怎么回事呢?


回复讨论(解决方案)

看看 conn.php

看看 conn.php


果然是那里多了个"?>"
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!