echo <<<HTML
<html>
<body leftmargin="2" topmargin="2" marginwidth="2" marginheight="2">
<div align="center">
<p> </p>
<p> </p>
<p><img src="images/error.gif" width="128" height="128"></p>
<p><font color="#FF0000" size="4" face="黑体"><strong>错误!请返回</strong></font> </p>
<input type="button" value="返回首页" onclick="location.href='index.php'">
</div>
</body>
</html>
HTML;
<html>
<body leftmargin="2" topmargin="2" marginwidth="2" marginheight="2">
<div align="center">
<p> </p>
<p> </p>
<p><img src="images/error.gif" width="128" height="128"></p>
<p><font color="#FF0000" size="4" face="黑体"><strong>错误!请返回</strong></font> </p>
<input type="button" value="返回首页" onclick="location.href='index.php'">
</div>
</body>
</html>
HTML;
解决方案 »
- PHP 使用SESSION用户登陆后注销不了!
- 这种情况mysql 如何建表比较好
- php 中的模擬多線程哦
- 这个问题怎么解决啊
- ajax超时问题
- 看看设个代码为什么标尺线的位置会变。。。页面能不能分层显示而且我想鼠标事件的效果最上层显示要怎么做??
- 通过判断是星期几,然后再按照是星期几来显示相应的图片
- PHP 有没有办法销毁常量
- 求助超具挑战性:如何在php中调用linux 系统命令以用来配制linux的防火墙啊?
- 2万人民币求购在线语音聊天系统. UP者有分.
- 急~~~ 求正则表达式? php正则表达式的全部资料
- 真搞不懂这句话有什么错setcookie("login","true",time()+3600);
<input type="button" value="返回首页" onclick="javascript:location.href='index.php'">
onclick="location.href='index.php'"
应为:
onclick='window.location="index.php"'
一个Form一个提交按键即可。
应为:
onclick='window.location="index.php"'请问他们有什么区别吗?
不过一般
取的页面的url用window.location.href
设置页面的url用window.location = ...
这样用看上去好一点