Show is record is owned by owner OR if accesslevel on update record
On my update page I have this rule
<?php if ($WADAtbl_posts_update->getColumnVal("customerid") == $_SESSION['SecurityAssist_id']) { // Show if ?>
I want to add an else rule - so that if the logged in user owns the record OR has admin access level they may access the update content and thereby update the record.
<?php
if ($_SESSION["accesslevel"] >=8) {
?>
Can you please advise how to write the rule?