Home  >  Article  >  Backend Development  >  Very practical PHP pop-up error warning function with strong scalability_PHP tutorial

Very practical PHP pop-up error warning function with strong scalability_PHP tutorial

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

Share a very practical function that I have been using to use PHP to pop up warnings. I have organized it into my own code base and can use this function where errors are encountered. It is highly scalable. The complete code is as follows

Copy code The code is as follows:

//********Pop up the alert box and jump to the specified page******//
function alert($message,$url='', $isAlert=true,$title='Prompt'){
echo '',$title,'';
echo '';
echo '';
exit();
}

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/710588.htmlTechArticleShare a very practical function that I have been using to use PHP to pop up warnings, and organize it into my own code base This function can be used where errors are encountered. It has strong scalability and complete code...
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