Home > Backend Development > PHP Tutorial > php-alert不显示消息,history.back()也不返回之前的页面,什么原因

php-alert不显示消息,history.back()也不返回之前的页面,什么原因

WBOY
Release: 2016-06-02 11:30:50
Original
1221 people have browsed it

phpalerthistory.back()

if($result)
echo "alert('插入成功!');history.back();";
else echo "插入失败!";
成功的时候界面一片空白,什么都没有,也不返回之前的界面,失败会有插入失败提醒

..
script显示不出来
图片说明

script显示不出来的,麻烦截图

Related labels:
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