1. 自动提示,然后返回

1
   echo "<script>alert('表单填写不完整'); history.go(-1);</script>";

2. 点击返回

1
   <a href='javascript:history.go(-1)'>上一页</a>