<?php $siparis = $dbh->query("SELECT * FROM siparisler WHERE siparis_id ", PDO::FETCH_ASSOC); ?> <?=$siparis->rowCount()?>