Re: [design9] Displaying records
Hi,
I think the issue was that our query is inside an if statement, but I don't think that if statement ever gets executed, instead, try this up near the top:
list($urgentcare_listRecords, $urgentcare_listMetaData) = getRecords(array(
'tableName' => 'urgentcare_list',
'where' => "pre_listing = '0'",
'perPage' => 100,
));
list($premium_listRecords, $premium_listMetaData) = getRecords(array(
'tableName' => 'urgentcare_list',
'where' => "pre_listing = '1'",
'perPage' => 100,
));
You can then use these 2 record sets for your two foreach loops.
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/