Re: [gcod] Not Show section when there is no records
I think I know how to solve your problem. You need to do two things. in the list function at the top of your page, add the following:
list($winesRecords, $winesMetaData) = getRecords(array(
'tableName' => 'wines',
'limit' => '5',
'where' => 'nouveaux_arrivages=1',
));
And then in the html area, you should remove this completely:
<?php if ($record['nouveaux_arrivages'] == 1): ?>