Show if (message) if Database Columns are empty
I'm trying to check to see if multiple columns are empty. However, can't figure out how to get to check multiple colums. Need to check "oppo1", oppo2, oppo3. Then Display a message if these 3 specific columns are empty.
<?php if ($WADAstats_details->getColumnVal("oppo1") == 0) { // Show if mysqli recordset empty ?>
Your database fields are empty.
<?php } // Show if mysqli recordset empty ?>