php弹出对话框之后再返回上级页面的一段非常简单的代码

echo "<script language=javascript>alert('想要输出的内容');history.back();</script>";