I have this code in a template that I am customising
<?php
$lstr = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
for( $i = 0; $i < strlen($lstr); $i++ ) {
$l = substr( $lstr, $i, 1);
echo '<a href="' . tep_href_link(FILENAME_DEFAULT, 'alpha=' . $l ) . '"><u>' . $l . '</u></a> ';
}
?>
What I really want is to separate the letters on different lines like this:
ABCDE on line 1
FGHIJ on line 2
KLMNO on line 3
PQRSTU on line 4
VWXYZ on line 5
Ho do I do this?
Thanks in advance