Menu
hi,
I have a question about PHP redirection. I have a cancel button on my page. When pressed I want to run a script that will unregister some sessions and then redirect to a specific page.
I thought about this:
session_unregister(‘completeCustOrders’);
header(location: [url]http://[/url])
the problem is doesnt the header(location: [url]http://[/url]) has to be right at the top of the page. Are there any other ways to redirec to a page