Forum

5 posts by 2 authors in: Forums > CMS Builder
Last Post: March 2, 2018

You'll have something like

<?php foreach ($inventoryRecords as $record): ?>
....
<?php endforeach ?>

Just at the end of that add;

<?php if (!$inventoryRecords): ?>
No records were found!<br/><br/>
<?php endif ?>

Cheers,

Tim Forrest
Toledoh Enterprises
www.toledoh.com.au

Sorry mate - I'd need to understand more of the code - and I'm definitely no expert...  maybe post the whole code?

Cheers,

Tim Forrest
Toledoh Enterprises
www.toledoh.com.au

Actually, Tim...er...I...uh...had yet ANOTHER brain fart!  Maybe...JUST MAYBE...if...IF...I chose to include the CORRECT SECTION NAME - then maybe the code would work!! Doh!! Double doh!! 

Sorry, bro. Thanks, again.  It's all better...all working...correct simple code...with the correct section name used.  Geez.

Lotsa love to you, though! Thanks!

TC

haha.   I spent over an hour with the favorites plugin yesterday sure that there was a bug in it.... nope, wrong section name....

Cheers,

Tim Forrest
Toledoh Enterprises
www.toledoh.com.au