if(empty($_POST['keyword'])){
//echo "<script>alert('不能为空!');</script>";
echo "<script>alert('未开发!');location.href='index.php';</script>";
//echo "error";
//exit;
}else{
echo "<script>alert('未开发!');location.href='index.php';</script>";
}对吗?