You almost have it right, it looks like you just need to switch the conditional statement. So yo should have:
<?php if ($totalRows_rs_suppliers > 0) { // Show if recordset not empty ?>
Not a valid Supplier Number
<?php } // Show if recordset empty ?>
and
if ($totalRows_rs_suppliers == 0) { // Show if recordset empty
for the insert server behavior.


