<?php
$sor=$db->prepare("SELECT * from tablo_adi WHERE id=1 AND id=2 AND id=3");
$sor->execute();
while($cek=$sor->fetch(PDO::FETCH_ASSOC)) {
 ?>