Can anyone see why this won't work?
$result = sql_query("select id, title, time from gnadatagame where platform='$title' AND UPPER(title) LIKE '$let%'", $dbi);
while(list($gid, $title, $time) = sql_fetch_row($result, $dbi))
{
$cresult = sql_query("select * from gnadatagame where platform='$pid'", $dbi);
$cnumrows = sql_num_rows($cresult, $dbi);
$cnumm = "$cnumrows game(s)";
echo "<tr><td width=33% height=20><font class=\"option\"><center><a href=\"modules.php?name=Test&cheat=opengame&pid=$pid&gid=$gid\">$title</a></td><td height=20 width=33%><center>$cnumm</td><td width=33% height=20><center>$time</td></tr>";
}