Hello I'm trying to figure out how to display my MySQL rows in a HTML table.

I have the first and last names displaying, but I want to have a scrolling limit where the like begining of letter C will display in a second column in the HTML table, and the letter G in the third column etc...

I have no clue how to do this. Please help!

Here is the code I have so far
PHP Code:

//loop through displaying all results
while($row mysql_fetch_array($result)) {
$link '<a href="http://area1044.com/clearroutes/studentdetails.php?ID=' $row['studentid'] . '">' $row[$rowone] . ',  ' $row[$rowtwo] . '</a><br />';
The output is just a list, a very long one to the left of the screen. Can I get some help?