page.php
:
if($order_status != 'Success'){
$date = date('d-M-Y h:i:sa');
$new = mysqli_query($conn, "UPDATE `event_reg` SET payment_date = '$date', status_text = '$order_status;', tid = '$transaction_id', order_id = '$order_id' WHERE reg_id = '$tidd'");
header("location:canceled.php?reg_id=$tidd");
}
在页面的页眉位置是canceled.php
,但我不希望这样。我想在我的离子应用程序页面中将其重定向。我的php页面在服务器上,项目在localhost
上。
代替
header("location:canceled.php?reg_id=$tidd");
使用
header("Location: https://YourIonicAppUrl/");