I would like to use a php header('Location: newpage.php') to redirect.
I got no error, but Jquery mobile seems to fail loading the destination page and the address bar stays with the old address.
Do you have an advice please ?
Thanks!
try to add data-ajax="false"
when you call that page, before redirecting using php header()
That code sends a 302 redirect header to the user's browser, instructing it to redirect to the provided URL. It should work. Have you checked the syntax? Information here: http://www.php.net/manual/en/function.header.php
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With