【php开源代码栏目提醒】:本文主要为网学会员提供boot.php,希望对需要boot.php网友有所帮助,学习一下!
<?php
require_once('global.php');
if($action=="set"){
$num=intval($_POST[num])+1;
$DB->query("delete from choujiang where id>0");
for($i=1;$i<$num;$i++){
$DB->query("insert into choujiang (id) values ($i)");
}
echo "鍒濆鍖栧畬姣曪紝绋嬪簭鍙互姝e父浣跨敤锛?;
echo "<script>document.location='index.html'</script>";
}
?>