Here is the most recent version of the script. I found the problem you were right it was on the preceding page. I didn't have a value in the drop down box. Now the only problem is that fields10-13 and field 8 do not show up. I thank you for all of the help with this. I only hope that I can learn enough to be able to help someone else out in return.
<?php
ob_start();
$host="...";
$username="...";
$password="abc123";
$submit=$_POST['submit'];
$cname=mysql_real_escape_string($_POST['cname']);
$snumber=mysql_real_escape_string($_POST['snumber']);
$db_name="...";
if ($submit=="Check In")
{
$table_name="...";
mysql_connect("$host", "$username", "$password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");
$sql="SELECT * FROM $table_name WHERE storename='$cname' AND storenum='$snumber'";
$result=mysql_query($sql);
$field1=$snumber;
$field2=mysql_result($result,0,"instdate");
$field3=mysql_result($result,0,"techname");
$field4=$cname;
$field5=mysql_result($result,0,"city");
$field6=mysql_result($result,0,"state");
$field7=mysql_result($result,0,"timeonsite");
$field8=mysql_result($result,0,"serveronsite");
$field9=mysql_result($result,0,"serverlocation");
$field10=mysql_result($result,0,"port1");
$field11=mysql_result($result,0,"port2");
$field12=mysql_result($result,0,"port3");
$field13=mysql_result($result,0,"port4");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="/include/css.css" />
<link rel="stylesheet" type="text/css" href="/include/print.css" media="print" />
<title>...</title>
</head>
<body>
<form action="submit.php" method="post">
<table align="center" width="80%">
<Caption>...</caption>
<tr>
<td>Store Number:</td><td> <input type="text" name="storenumber" size="4" maxlength="4" value="<?php echo $field1?>"></td>
<td>Date of Install:</td><td> <input type="text" name="instdate" value="<?php echo $field2?>"></td>
<td>Tech Name:</td><td> <input type="text" name='techname' value="<?php echo $field3?>"></td>
</tr>
<tr>
<td>Store Chain:</td><td> <select name="storename" value="<?php echo $field4?>">
<option value="">1</option>
<option value="">2</option>
<option value="">3</option>
<option value="">4</option>
</select></td>
<td>City:</td><td><input type="text" name="city" value="<?php echo $field5?>"></td>
<td>State:</td><td><input type="text" name="state" size="2" maxlength="2" value="<?php echo $field6?>"></td>
</tr>
<tr></tr>
<td>Tech Time on Site:</td><td><input type="text" name="timeonsite" size="5" maxlength="5" value="<?php echo $field7?>"></td>
<td>Server On Site:</td><td> <input type="checkbox" name="serveronsite" value="<?php echo $field8?>"></td>
<td>Server Location:</td><td> <input type="text" name="serverlocation" value="<?php echo $field9?>"></td>
</tr>
</table>
<table align="center" width="80%">
<tr>
<td>Server Port 1:</td><td> <input type="text" name="'port1'" size="4" maxlength="4" value="<?php echo $field10?>"></td>
<td>Server Port 2:</td><td> <input type="text" name="'port2'" size="4" maxlength="4" value="<?php echo $field11?>"></td>
<td>Server Port 3:</td><td> <input type="text" name="'port3'" size="4" maxlength="4" value="<?php echo $field12?>"></td>
<td>Server Port 4:</td><td> <input type="text" name="'port4'" size="4" maxlength="4" value="<?php echo $field13?>"></td>
</tr>
</table>
<table align="center" width="80%">
<tr>
<td align="right"><input type="submit" name="checkin" value="Submit"></td><td><input type="reset" name="reset" value="Reset"></td>
</tr>
</table>
</form>
</body>
</html>
Thanks,
Galuf