Home > Backend Development > PHP Tutorial > 非常实用的php弹出错误警告函数扩展性强_PHP

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

WBOY
Release: 2016-06-01 11:56:34
Original
929 people have browsed it

分享一个非常实用,本人一直在用的利用php弹出警告的函数,整理到自己的代码库中去在遇到错误的地方可用到此函数,扩展性强,完整代码如下
复制代码 代码如下:
//********弹出alert框并跳转到指定页面******//
function alert($message,$url='',$isAlert=true,$title='提示'){
echo '

',$title,'';
echo '';
echo '';
exit();
}
Related labels:
php
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