Remember that when quoting text you should consider speed and flexibility :
Using this :
<?php
$name = 'Jacob';
$age = 27;
header('Location: script.php?name=$name&age=$age');
?>
.. would result in heading to the URL "script.php?name=$name&age=$age" and NOT "script.php?name=Jacob&age=27".
Instead you could use :
<?php
header('Location: script.php?name='.$name.'&age='.$age);
?>
Which is "less" readable but faster than :
<?php
header("Location: script.php?name=$name&age=$age");
?>
Which is more "flexible" ...
Note : I'm not trying to start a way here, but it is a problem for most "new" people to PHP.