My Code so far:
PHP Code:
<body>
<?php
$con 
mysql_connect("localhost","root","");
if (!
$con)
  {
  die(
'Could not connect: ' mysql_error());
  }

mysql_select_db("test2"$con);

$result mysql_query("SELECT * FROM cars WHERE color='' ORDER BY id DESC");
$rownumbers=0;

while (
$row mysql_fetch_array($result))
{
    
$rownumbers++;
echo 
"(".$rownumbers.")<br />";
echo 
"<div><font color='green'>Record# -  </font><a href='../editrecord.php' id='" $row['id'] . "' />".$row['id']."</a>:  <br />Make is: " $row['make'] . "<br />  Model Type: ".$row['model']."</div>";
echo 
"<div><font color='red'>What color is it: </font>" $row['color'] . "</div>";

echo 
"<div><hr></hr></div>";

mysql_close($con);?>
</body>
</html>
My goal is to be able to click on the Record # which i have as a href and that it will update the record thereby removing it from the list and populate another page where I can edit the record completly. Im not sure about how to go about doing that though. Anyone out there with some ideas and an example or two?