Not sure if this is the right section for this or not.. sorry if it is not.
I am attempting an alphabetical navigation.
So far my code for it is:
include('incl/connect.php');
$result = mysql_query("SELECT DISTINCT alpha.* FROM alpha WHERE 1 ORDER BY alpha_case ASC");
echo mysql_error();
$id = $row['alpha_id'];
echo "<table width=100% class=outside>";
echo "<tr>";
echo "<td align=center valign=top class=th width=10%>Artist</td>";
if (mysql_num_rows($result))
while($row = mysql_fetch_array($result)) {
echo "<td valign=top width=90%><a href='lyric.php?alpha=".$row['alpha_id']."' target='main'>" . $row['alpha_case'] ."</a></td>";
echo "</tr>";
echo "</table>";
}
now the problem: it is pulling up as it is directed but it isnt pulling up correctly.
it pulls as
Artist: #
next line -----------------------abcdefghij (etc)
the abc should be on the same line as the # but I am not sure how to get it there.
Thank you for the time and help.