Così non ti andrebbe bene?
<?php
$nome="Login";
$matrice['nome']="Logout";
echo("
<table border=\"1\" width=\"39%\">
<tr>
<td align=\"center\"><a href=\"login.php\">$nome</a></td>
<td align=\"center\"><a href=\"logout.php\">{$matrice['nome']}</a></td>
</tr>
</table>
");
?>