Line 37 is the last line ( ?> ). I see no $ there…
<?php
function secCode()
{
$sql = "SELECT title, name, web FROM shop ORDER BY id DESC";
$rs = @mysql_query($sql) or die("Could not query. <a href=\"index.php?sec=shop\">Try again</a>.");
$count = 1;
while($row = mysql_fetch_array($rs))
{
$title = $row["title"];
$name = $row["name"];
$web = "http://www." . $row["web"];
$thumbnail = "shop/" . $title . "_thumbnail.gif";
$alt = $title . " by " . $name;
echo("
<table border=\"0\" cellspacing=\"1\" cellpadding=\"5\" background=\"$PLATFORM\">
<tr bgcolor=\"$PLATFORM\">
<td>
<img src=\"$thumbnail\" alt=\"$alt\">
</td>
</tr>
<tr bgcolor=\"$PLATFORM\">
<td align=\"center\">
<a href=\"$web\" title=\"designer's website\">$name</a>
</td>
</tr>
</table>
");
// line break after each 3 entries
if($count % 3 == 0)
echo("</ br>");
$count++;
}
?>