我有一些php代码,在代码的标题中,我想给出我的ionic应用程序页面的链接
我有一些php代码,在代码的标题中,我想给出我的ionic应用程序页面的链接,php,html,ionic-framework,Php,Html,Ionic Framework,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 =
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");
}
页面的页眉位置是cancelled.php
,但我不想这样。我想在我的ionic应用程序页面中重定向它,看看它是如何实现的。我的php页面位于服务器上,项目位于localhost
而不是
header("location:canceled.php?reg_id=$tidd");
使用
我的应用程序在localserver上
header("Location: https://YourIonicAppUrl/");