Bir örnek vereyim, mantigi anlarsin zaten;
$id = $_GET["id"];
$degistir = mysql_query("SELECT * FROM mesajlar WHERE id ='$id'");
$sonuc = mysql_query($degistir);
while($yaz = mysql_fetch_array($degistir)){
$id = $yaz["id"];
$adi = $yaz["adi"];
$mail = $yaz["mail"];
$memleket = $yaz["memleket"];
$web_site = $yaz["web_site"];
$mesaj = $yaz["mesaj"];
$tarih = $yaz["tarih"];
?>
<form method='POST' action="degistir_ok.php">
<input type='hidden' name='id' value="<?=$id;?>">
Adi: <input type='text' name='adi' value="<?=$adi;?>"><br>
Memleket: <input type='text' name='memleket' value=<?=$memleket;?>><br>
Mail: <input type='text' name='mail' value='<?=$mail;?>'><br>
Web Site: <input type='text' name='web_site' value='<?=$web_site;?>'><br>
Tarih: <input type='text' name='tarih' value='<?=$tarih;?>'><br>
Mesaj: <textarea name='mesaj' cols='45' rows='5' ><?=$mesaj;?></textarea><br><br>
<input type='submit' value='Kayit et'>
<?
}
?>