Well first I like to thank you for your reply,
I will work backwards on your response,
The dbconclosed.php is my close database statement, I forget to close my database offen so I created a template with that at the end.
This database is for internal use only no outsiders will be allowed. The only data inserted will be data from a collection information obtained from partner websites.
Last is the $ fixed the problem with the "there are no entries" and the form now shows up. Only problem left is the form is empty still no data passing from first form.
// Retrieve data from database
$query="SELECT * FROM contacts WHERE id='$id'";
$result = mysql_query($query) or die("there are no entries");
if (!$result) {
die('invalid query');
}