Thank you that works now there is no more errors, but now my link from my admin page which holds that id value will not carry over to the edit page and when I click the link I just get an HTTP 404 error and on my Edit page the values of the posts do not show. I have tried fixing my link through researches I found but did not help can someone help me look at it. Thank you.
This my Administration page.
<?php
$query = "SELECT * FROM site_content";
$result = mysql_query($query);
while($posts = mysql_fetch_array($result)) {
echo "<a href=\"edit.php?id=$posts[iD]\">Edit</a>";echo "</div><br>";
?>
This is in the Edite page
<?php
include('Connection.php');
$id = mysql_real_escape_string($_GET['id']);
$query = "SELECT * FROM sit_posts WHERE ID = 'id'";
$result = mysql_query($query);
$posts = mysql_fetch_array($result);
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST" name="editform">
<table>
<tr>
<td><label for="TitleName">Post Title</label></td>
<td><input type="text" name="TitleName" value="<?php echo $posts['Post_Title']; ?>" /></td>
</tr>
<tr>
<td><label for="AuthorName">Post Author</label></td>
<td><input type="text" name="AuthorName" value="<?php echo $posts['Post_Author']; ?>" /></td>
</tr>
</table>
</form>
?>
The red is where the problem is. Thank you.