2
所以我有抓住一些記錄使用豆莢。
我有31條記錄,但我while($thePod->fetchRecord())
僅環去15次豆莢fetchRecord跳過項目
$thePod = new Pod('projects');
$thePod->findRecords('slider_order ASC');
$totalItems = $thePod->getTotalRows(); // = 31
while($thePod->fetchRecord()) :
$i++;
endwhile;
echo $i.'/'.$totalItems.' looped through'; // displays 15/31
任何想法,爲什麼這是發生?
太棒了!謝謝 – ahren