while($sora=mysql_fetch_array($sor)){
echo '<input type="text" name="soru" value="'.$sora["soru"].'"><br>';
$sor1=mysql_query("SELECT * FROM scev WHERE kat_id='$kat' and sor_id='$sora[id]' ORDER BY id ASC");
while($sora1=mysql_fetch_array($sor1)){
if($sora1["sonuc"]=="1") {
$a="checked=\"checked\"";
}else{
$a=" ";
}
echo '<input type="radio" name="sonuc" value="'.$sora1["sonuc"].'" '.$a.'>'.$sora1["cevap"].'<br>';
}
}kolay gelsin