ydlgr adlı üyeden alıntı: mesajı görüntüle
mysql_num_rows(mysql_query('SELECT id FROM siparis where tarih>="2015-05-19 00:00:00" and tarih<="2015-05-19 23:59:00" '));

Bu şekilde denediniz mi hocam ?
hocam bende tam bunu yazmak için girmiştim foruma. evet böyle denedim ve oldu. çok sağolun