Re: [markr] calendar listing recorda matching today forward and limit
I recently did that same thing for listing radio shows. The center of the page lists the upcoming shows and they are automatically moved to the archive list in the sidebar after the broadcast date. Two lists with reverse filters.
list($future_radio_showRecords, $radio_showMetaData) = getRecords(array(
'tableName' => 'radio_show',
'where' => 'hidden="0" and show_date >= (NOW() - INTERVAL 1 DAY)',
));
list($past_radio_showRecords, $radio_showMetaData) = getRecords(array(
'tableName' => 'radio_show',
'orderBy' => 'show_date DESC',
'where' => 'hidden="0" and show_date < (NOW() - INTERVAL 1 DAY)',
));
Hope this helps out.
Ron Conring
Conring Automation Services
----------------------------------------
Software for Business and Industry Since 1987