Thank you both for your help - I appreciate it!. However, I could not get either of these to work, and the reason is I am new to PHP, and I do not know where to place the code you have provided.
I have the code below, and if you could fill me in on where I should place this code, I would appreciate it.
Thank You!
...
<?
$db_name = "db";
$table_name = "table";
$connection = @mysql_connect("localhost", "xxx", "xxx") or die("Couldn't connect.");
$db = @mysql_select_db($db_name, $connection) or die("Couldn't select database.");
$sql = "SELECT id, stock, year, make, model, description
FROM $table_name
ORDER BY make
";
$result = @($sql,$connection) or die("Couldn't execute query.");
$contact_list = "<ul>";
while ($row = mysql_fetch_array($result)) {
$id = $row['id'];
$year = $row['year'];
$make = $row['make'];
$model = $row['model'];
$description = $row['description'];
$contact_list .= "<li><span class=info><a href=\"record.php3?id=$id\">$year $make $model</a> - $description</span>";
}
$contact_list .= "</ul>";
?>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<? echo "$contact_list"; ?>
</td>
</tr>
</table>
<p><a href="panel.php3">Return to Main Menu</a></p>
</BODY>