my code checked if there was a value, $GET['id'] in the url. Your code said if $GET['id'] is equal to $id
That doesn't make much sense. $GET['id'] and $id are identical if globals are on. If they're off, they're two seperate variables and most likely won't equal eachother. It would hae worked if you had said if($GET['id'] == '7') or something like that (if you only wanted it to work for that id).
Anyways, so you now have php tags around the variables?
<input type="text" name="edittitle" id="edittitle" value="<?= $edittitle ?>" /> <br /> <br />
And so forth...Then I'd change
if($posts = mysql_fetch_array($edit))
to
while($posts = mysql_fetch_array($edit))
and make sure to include the closing bracket.
Cgraz