Rule to show text if no record found
I have a bit of text on a page to display a list of categories from a table, if the query returns any results using:
Allow if <?php echo $row_rsNominations['ScoreID']; ?> <> ''
But what would the rule be to display some text (e.g. 'This lodge has received no votes yet') if there are no matching records in the query?
I guess as there are no matching records I can't compare any fields - but presume this must be possible?