echo "<script language='\"<a' style="color:#f60; text-decoration:underline;" title="javascript" href="https://www.php.cn/zt/15724.html" target="_blank">javascript\">alert('登录成功,欢迎你$this->usename');location.href = 'javascript:history.go(-2);'</script>";
history.back();是跳回前一次浏览器显示的页面,如果你是用表单提交触发的跳转操作,你要用history.go(-2);即返回上上次显示的页面,因为你提交表单时肯定重新加载了页面。
本文链接http://www.cxybl.com/html/wlbc/Php/20130607/38419.html










