Hello.
I have written the following:
// *** Redirect to checkout
if ( $checkout ) {
header( "Location: http://".$GLOBALS[HTTP_HOST].$localpath."/checkout.php3?sid=".$sid->sid );
}
In the php document there is to buttoms wich is for different functions(the page submits to it self), the one above is for redirection to an other page. But it gives the following error:
Cannot add header, header already send.
How can I solve this problem ?
Regards
Magnus