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

WBOY
Release: 2016-07-13 10:40:42
Original
648 people have browsed it

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...
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!