MySQLi PHP Show If recordset field is empty
I see a Show If Recordset is/is not Empty option in the Server Behaviours panel but no Show If Field is/is not Empty. I'm using a MySQLi recordset and have tried this to only show a link if a recordset field is empty but I know the field isn't empty however it isn't displaying on the page:
<?php if($row_rsACT['SMTactwebsite'] != "") { ?>
<a href="http://<?php echo($rsACT->getColumnVal("SMTactwebsite")); ?>" class="list-group-item"><span class="glyphicon glyphicon-globe"></span> Official Website</a>
<?php } ?>
Hope you can help. Thank you.
NJ