【PHP】alert几种用法
//alert几种用法
//带变量
alert('成功'.$pcbh,'example.php');
//正常返回example.php
alert('成功','example.php');
//echo中alert并返回上一页
echo"<script>alert('提示内容');history.back()</script>";
//echo中alert带变量并返回上一页
echo"<script>alert('$id');history.back()</script>";