the equivalent in MySQLi would be:
<?php if ($rsNav1->TotalRows == 0) { // Show if mysqli recordset empty ?>
Recordset is empty
<?php } // Show if mysqli recordset empty ?>
<?php if ($rsNav1->TotalRows > 0) { // Show if mysqli recordset not empty ?>
Recordset is NOT empty
<?php } // Show if mysqli recordset not empty ?>