I am outputting a page that is in 2 parts. The first part will show the two most recent records. (an array of records from a query)
then I output some html
after that I need to display the rest of the records. How can I start on the array where I left off?
foreach($dataset as $sarowp) {
$hosted_asset = $sarowp["hosted_asset"];
$media = $sarowp["media"];
include("archive_photo2.php");
$cnt ++;
if($cnt == '3')
{break;}
}
//HTML HTML HTML output
//then later in page show the rest
foreach($dataset as $sarowp) {
$hosted_asset = $sarowp["hosted_asset"];
$media = $sarowp["media"];
include("archive_photo2.php");
$cnt ++;
}