Home > Backend Development > PHP Tutorial > 编写的PHP文件在WAMPSERVER测试,页面显示空白,请问

编写的PHP文件在WAMPSERVER测试,页面显示空白,请问

WBOY
Release: 2016-06-13 12:55:04
Original
1769 people have browsed it

编写的PHP文件在WAMPSERVER测试,页面显示空白,请教
其他文件测试成功,但是这个文件就空白页面。高手帮忙看一下,谢谢啦

nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">




问卷调查

<script><br /> <!--<br /> <br /> function check() {<br /> var flag1=0;<br /> var flag2=0;<br /> <br /> var radio1=document.getElementsByName("v1");<br /> for(var i=0;i<radio1.length;i++)<br /> {<br /> if(radio1.item(i).checked==true)<br /> {<br /> flag1=1;<br /> break;<br /> <br /> }<br /> }<br /> var radio2=document.getElementsByName("v2");<br /> for(var i=0;i<radio2.length;i++)<br /> {<br /> if(radio2.item(i).checked==true)<br /> {<br /> flag2=1;<br /> break;<br /> }<br /> }<br /> if(!flag1||!flag2){<br /> alert("对不起,请回答完其他的问题?");<br /> return false;<br /> }<br /> <br /> if (add.advice.value == ""){<br /> alert("请输入你的建议")<br /> add.advice.focus();<br /> return false;<br /> }<br /> }<br /> <br /> --><br /> </script>





//在页面的开头连接数据库
require_once('config/db-function.php' );
$DB=get_db_class();
if( !$DB->conn_flag ){  
exit( -1 );
}
?>

                    

                            
  • 期待您的参与

  •                     




     编写的PHP文件在WAMPSERVER测试,页面显示空白,请问
    

期待您的参与


 

    
    

    


        

        



        
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