PHP注释给出错误


PHP Commenting giving an error

我正在运行一个php文件,文件中有以下注释。

 /* U can define as like C define */
 /* By default, name will be case sensitive, to make the name as case- insensitive add true 
    define ( "SERVER" , "localhost",true  );  /* Here server and SERVER will print local host */
  */
echo " Creating database file is executed second ";

没有上面的评论,echo-print就会被反映出来,而有了评论,我在浏览器中什么都得不到。

有人能帮我一下吗?

问候Prasath S.

尝试这个

<?php
//  U can define as like C define 
 /* By default, name will be case sensitive, to make the name as case- insensitive add true 
    define ( "SERVER" , "localhost",true  );   Here server and SERVER will print local host 
  */
echo " Creating database file is executed second ";
?>

您不能将注释放在注释中

相关文章: