DISPLAYING RECORDS STARTING FROM RECORD “N” - Aug 2nd, 2010


User zakcoop wanted to know if there was “..something that I should use on the News Archive page to (automatically)
pull news records, starting at the 6th record?” ( The main news page showed the first 5 records.)

User sagentic reminded us that sometimes there are really simple solutions to seemingly difficult issues. He said,
“Add 'offset' => 4, to your top of page code to get to start at the 6th record. (record numbering starts at 0)”

Something like this:



list($newsRecords, $newsMetaData) = getRecords(array(
'Table name' => 'news',
'offset' => 4,


Thanks Kenny.



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service