Neither is correct. Check the PHP Manual. Basically, this is the syntax:
<?php
header('Location: location_goes_here');
exit;
?>
You must have that exit function there. Also, if you have a variable, do this:
<?php
header('Location: ' . $var_name);
exit;
?>