I added the WA show if but am missing something.
All logged in users are seeing the #2 section
<?php if ($WADAhorses_update->TotalRows == 0) { // Show if mysqli recordset empty ?>
1.<br>
You must have admin rights to this horse in order to edit profile. If you are the admin of this horse</p> <a href="login.php" class="button">LOG IN</a>
<?php } // Show if mysqli recordset empty ?>
<?php if ($WADAhorses_update->TotalRows != 0) { // Show if mysqli recordset empty ?>
2.<br>
You are the owner - you may edit
<?php } // Show if mysqli recordset empty ?>
Do i add something like this inline ($WADAhorses_update->getColumnVal("customerid") != $_SESSION['SecurityAssist_id'])
Or modify my existing recordset
("SELECT horseid, customerid, handlercustid, horse_name, horse_height, horse_weight, horse_barn_name, br_incentive, horse_profile_pic, horse_pic2, horse_pic3, horse_pic4, horse_pic5, horse_moneyearned, pic_papers, horse_comments, horse_breed_id, horse_broodmare_yn, horse_reg_number, horse_discipline, horse_dob, horse_year_foaled, horse_month_foaled, horse_gender, horse_in_foal_yn, horse_color, horse_at_stud_yn, sire, siressire, siressiresire, siresiresdam, siresdam, siresdamssire, siresdamdam, dam, damssire, damssiresire, damssiredam, damdam, damdamssire, damsdamdam, admin_notes, admin_notes_royalcrown, horse_owner_name, horse_owner_address, horse_owner_city, horse_owner_state, horse_owner_zip, auction_lot_number, auction_status FROM horses WHERE horses.horseid = ?");