我想检查哪些网址在php中进入我的网页

时间:2016-12-13 06:39:38

标签: php

if(isset($_GET['BookNow'])){

        $url5 =  "bank.php";
        exit;
}
else{

    $url5 = "customer_display.php";
    exit;
}

//$insert is a query of phpMyadmin.

if($insert){

    "<meta http-equiv='refresh' content='0;url=$url5?
         message=Your booking was completed Successfully!!!'>";
}
else{

    "<meta http-equiv='refresh' content='0;url=$url5?
         message=Your booking was completed Successfully!!!'>";
}

但它不起作用请帮帮我

1 个答案:

答案 0 :(得分:1)

echo "<meta http-equiv='refresh' content='0;url=$url5?
         message=Your booking was completed Successfully!!!'>";

甚至

header ("Location: url=$url5?
         message=Your booking was completed Successfully!!!");