I don’t know enough PHP, but for a while I had the code below working successfully. Now the output list has grown and the code now iterates most but not all the items:
<table>
<?php
foreach($TTFallOtherList_result as $TTFallOtherList_row){ ?>
<tr><td><span class="title"><?php echo $TTFallOtherList_row['fieldData']['FCSTTFh_BiblioInfoDisplayCSS']; ?> by <?php echo $TTFallOtherList_row['fieldData']['FCSTTF_AuthorDisplay_calc']; ?></span></td><td><?php echo $TTFallOtherList_row['fieldData']['FCSTTFh_0BibleBookAllCSS_calc']; ?></td><td><?php if ( $TTFallOtherList_row['fieldData']['FCSTTFh_FileNamePDF'] !== "") { ?><a class="linkred" href="PDFFiles/<?php echo $TTFallOtherList_row['fieldData']['FCSTTFh_FileNamePDF']; ?>">Download</a> <?php } ?></td></tr>
<?php } ?>
</table>
Is there a maximum number of items foreach iterates that might be limiting the number? I need the full list, and it will never be more than 1000 items, but I can’t get them with the code above.
Trying to use while instead of foreach may be better, but I am afraid of breaking the code. (Like I said, I don’t know PHP enough).
Thanks.