$sql="SELECT * FROM modaltakim";
$sorgu=mysqli_query($baglanti,$sql);
while( $sonuc=mysqli_fetch_assoc($sorgu) ){
?>
" value="">
if ($_POST['modaltakim'.$sonuc['takimlar'].'']) {
echo "";
}
if ($_POST['preview'.$sonuc['preview'].''){
echo ""; }
}