$sql = mysql_query("SELECT * FROM tablo_adi ORDER BY ID DESC");
while($row=mysql_fetch_object($sql)){

$sutun1= $row->sutun1_adi;
$sutun2=$row->sutun2_adi;

if($sutun1==$sutun2){

echo $sutun1;
echo $stun2;

}


}