PHP Redirect loads current page
I am doing a redirect using the below code. The issue is that when the redirect code is executed, it loads the current page again and then eventually redirects to the new page.
I don’t want it to reload the current page and to redirect automatically to the new page.
I have written code for the redirect and debugged the code.
function util_redirect ($page)
header("Location: " . $page,true);