Here is an example.
<html>
<body>
<ul>
<?php
for($i=65;$i<=90;$i++) {
echo "<li><a href='char.php?alpha=".chr($i)."'>".chr($i)."</a></li>";
}
?>
</ul>
</body>
</html>
<?php
if(isset($_REQUEST['alpha'])) {
$alphabet = $_REQUEST['alpha'];
echo "You selected alphabet: ".$alphabet;
/*
* Then you can query the table for fonts starting from the selected alphabet like
* $query = "select * from fonts_table where font_name like '%".$alphabet."%'";
* Then display the results.
*/
}
?>
Maybe you can also save an image of the font (like this, http://www.getfreefonts.info/samples/aajaxsurrealfreak.gif) in the table along with the font_name. Then display corresponding font image next to its name.