PHP conditional code
I have a page here:
http://www.safariawards.com/africa/zarafacamp/
Which includes lists of results for a lodge on the right hand side. The different stars indicate whether it has been a winner, runner up etc in any given category in any given year.
To show the little stars for each result I am just using
<?php /*START_PHP_SIRFCIT*/ if ($row_rsNominations['Winner']=="Y"){ ?>
<img src="../../images/awards/winner/<?php echo($row_rsNominations['Winner']); ?>.png" alt="Winner" width="17" height="16" />
<?php } /*END_PHP_SIRFCIT*/ ?>
But would it be possible to only show the headings at the top (i.e. the W, RU, 3rd etc) if any result had a matching star? e.g. the W would only appear if the lodge has been the winner in any of the results listed?