Linjeskift i index.php
Har en indexfil hvor jeg har nogle scrips jeg gerne vil have på hver sin linje. Har forsøgt mig med <be>, uden held.Andre mulige løsninger?
<?php
if( $currentuser ) {
echo "<a href=\"logout.php\" class=\"sidelink\">" . strtoupper($text['mnulogout']) . "</a>\n";
}
else {
echo "<a href=\"login.php\" class=\"sidelink\">" . strtoupper($text['mnulogon']) . "</a>\n";
}
?>
</tr>
<tr>
<td valign="top"><a href="mostwanted.php" class="sidelink"><?php echo $text['mostwanted']; ?></a></td>
<td valign="top"><a href="whatsnew.php" class="sidelink"><?php echo $text['mnuwhatsnew']; ?></a></td>
<td valign="top"><a href="browsemedia.php?mediatypeID=photos" class="sidelink"><?php echo $text['mnuphotos']; ?></a></td>
<td valign="top"><a href="cemeteries.php" class="sidelink"><?php echo $text['mnucemeteries']; ?></a></td>
<td valign="top"><a href="places.php" class="sidelink"><?php echo $text['places']; ?></a></td>
<td valign="top"><a href="browsealbums.php" class="sidelink"><?php echo $text['albums']; ?></a></td><td>
<td valign="top"><a href="browsesources.php" class="sidelink"><?php echo $text['mnusources']; ?></a></td><td></tr>
<td valign="top"><a href="admin/index.php" class="sidelink"><?php if( $allow_admin ) echo $text['mnuadmin']; ?></a> </td>
<td valign="top"><a href="suggest.php" class="sidelink"><?php echo $text['contactus']; ?></a></td><td>
<td valign="top" colspan="4"><a href="newacctform.php" class="sidelink"><?php echo $text['mnuregister']; ?></a></td>
</table><br />