This topic is locked
[SOLVED]

 Use button to redirect to another page

2/22/2021 11:05:17 AM
PHPRunner General questions
A
AlphaBase author

I added a button to a view page of another table with the button's OnServer code:
header("Location: customers_view.php");

exit();
It just gives me an error message. How do I code to navigate to another page from a page using a custom button?

H
Hd_Mersintarim 2/22/2021



I added a button to a view page of another table with the button's OnServer code:
header("Location: customers_view.php");

exit();
It just gives me an error message. How do I code to navigate to another page from a page using a custom button?


client after

window.location.href = "your.php?parameters";

A
AlphaBase author 2/22/2021



client after

window.location.href = "your.php?parameters";


That's basic enough. Thanks Hd_Mersintarim.