Thanks alot for the help.
Thomas, I tried your list idea and that was exactly what I want except for one thing. It seems to space the contents out within the cell. Is there a way to get it to align better?
It looks like this:
.....1....The song
...........title is
...........long.
.....2....The song
...........title is
...........long.
(without the periods)
instead of this:
1. The song title
is long.
Is there a remedy for this or is this just the nature of a numbered list.
Thanks again, I really appreciate it.
<td width="108" height="48" align="left" valign="top" bgcolor="#333333" class="hotNames">
<?php
$getInfo = "SELECT stitle, songid FROM songs ORDER BY sdate DESC LIMIT 5";
$rs = mysql_query($getInfo, $conn) or die(mysql_error());
if(mysql_num_rows($rs)) {
$i = 1;
echo "<ol>\n";
while ($row = mysql_fetch_array ($rs, MYSQL_ASSOC)) {
$stitle = prepOut($row['stitle']);
$songid = $row['songid'];
echo "<li style=\"color:#FFFFFF\">";
echo "<font style=\"color:#000000\"><a href=\"song.php?songid=$songid\">"
."$stitle</a><br></font></li>\n";
}
echo "</ol>\n";
$i++;
}
?>