JustPaste.it

<?php
include ("baglan.php");
$islem = $baglan -> prepare ("select * from tablo");
$islem -> execute();
$islem2 = $islem -> fetchall(PDO::FETCH_ASSOC);
foreach ($islem2 as $islem3){



if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$secilenler = @$_POST["bir"];

foreach( $secilenler as $id )
{
echo $id;
}
}
?>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<form action="" method="post">
<input type="checkbox" name="bir[]" value="1" />

<input type="submit" value="Sil" />
</form>
</body>
</html>

<?php
}
?>