there are different ways to do this:
a) using echo (you have to escape)
<?php
$author = 'Tom';
echo "<html>
<body><a href=\"link.php\">Click here</a>$author
</body></html>";
?>
b) also using echo but an advanced syntax (no escaping)
<?php
$author = 'Tom';
echo '<html>
<body><a href="link.php">Click here</a>'.$author.'
</body></html>';
?>
c) using heredoc syntax (easiest solution)
<?php
$author = 'Tom';
print <<<EOT
<html>
<body><a href="link.php">Click here</a>$author
</body></html>
EOT;
?>
d) inline (fastest)
<?php
$author = 'Tom';
?>
<html>
<body><a href="link.php">Click here</a><?php echo $author ?>
</body></html>
<?php
//continue script
?>
e) including a file
<?php
$author = 'Tom';
include('page.php');
?>
best is if you decide for one... i prefer e) as it keeps the php code clean of html