Home > php教程 > php手册 > 非常实用的php弹出错误警告函数扩展性强

非常实用的php弹出错误警告函数扩展性强

WBOY
Release: 2016-06-13 09:44:59
Original
770 people have browsed it

分享一个非常实用,本人一直在用的利用php弹出警告的函数,整理到自己的代码库中去在遇到错误的地方可用到此函数,扩展性强,完整代码如下

复制代码 代码如下:


//********弹出alert框并跳转到指定页面******//
function alert($message,$url='',$isAlert=true,$title='提示'){
echo '

',$title,'';
echo '';
echo '';
exit();
}
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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template