Do not show if recordset is empty
Hi there,
I was hoping that my Tabbed menu would leave out an item if the recordset was empty.
eg:
<?php if ($totalRows_rsContent > 0) { // Show if recordset not empty ?>
<li><span><a href="<?php echo $row_rsContent['Standardsurl']; ?>"><?php echo $row_rsContent['TabStandards']; ?></a></span></li><?php } // Show if recordset not empty ?>
Unfortunately the left and right curved pics of the tabs shows. (see attached picture - red arrow). Is there another way I can do this so it closes up?
Thanks