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();
}
http://www.bkjia.com/PHPjc/710588.htmlwww.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...