Hey thanks for the speedy reply!!!
Well what this is, is a form that is updating a record previously entered. The select box is a query from the database with all my company names in it. I am running above a query to get the record in question:
<?
$contractGet=mysql_query("select contractName,companyName,dateAdded from contracts where recordID=$editContract");
while (list($recordID,$contractName,$companyName,$dateAdded)=mysql_fetch_row($contractGet))
{
?>
$editContract is the record ID
I need the select box to be populated with the $company name that the recordID is from see image http://www.xydon.com/query.gif
I apologize for not being to explaing this better.