I hate when babies make mistakes...pardon the bad pun but I laughed when I saw "fetal error" ;-)
Is the code you're showing missing some lines from your actual code? I noticed you have a script delimiter kinda thrown in there:
$font = "$row[font]";
?>
if ($row[font]) {
and then again below:
?> }
}
?>
Also, correct me if I'm wrong, but I don't believe you can you the array keys without quotes or double quotes around them:
$row[font] maybe shoudl be $row["font"]
Good luck!