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

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

WBOY
WBOYOriginal
2016-07-13 10:40:42589browse

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

复制代码 代码如下:

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

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/710588.htmlTechArticle分享一个非常实用,本人一直在用的利用php弹出警告的函数,整理到自己的代码库中去在遇到错误的地方可用到此函数,扩展性强,完整代...
Statement:
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