Home > Backend Development > PHP Tutorial > 写留言版时 < .> 不是用<php?>么,该如何解决

写留言版时 < .> 不是用<php?>么,该如何解决

WBOY
Release: 2016-06-13 12:46:49
Original
825 people have browsed it

写留言版时 ............?> 不是用
RT

先调用了包含数据库的文件,
require ('dbconnect.php');
?>
//照书上的代码打的

     //为什么这里不加php了,加上页面都显示不出来,不加开头多了  ;  
echo "

";
echo "

查看留言

";
/////////////////////////
////////////////////////
?>

然后显示的时候就出错了。。
显示情况就和下面代码加不加php效果一样
echo "

";
echo "

查看留言

";
?>
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