把echo "1 record added";换成echo ""; 其中xxx,是用户点击弹出提示框确认后,跳转打开的url如果不想跳转,那就把location.href='xxx'去掉即可
echo '