Is there any other function in PHP that can be used for redirecting a page
I use the following
header ("location: index.php");
But it generates the following error:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\program files\easyphp1-8\www\admin-right-nav.php:5) in c:\program files\easyphp1-8\www\admin-right-nav.php on line 6
Is there any alternative in php?