Home > Article > Backend Development > PHP reports error and automatically jumps
The content of this article is about PHP error reporting and automatic jump. It has certain reference value. Now I share it with everyone. Friends in need can refer to it
exit("<script>alert('您输入的字符不合法,请重新输入');location.href='reg.php';</script>");
The above is the detailed content of PHP reports error and automatically jumps. For more information, please follow other related articles on the PHP Chinese website!