I want to double check something about multiple conditions in a boolean if statement in PHP. Given that I write:
if(!empty($_POST) && !isset($_POST['report_btn'])) {...}
can this be re-written as
if(! ( empty($_POST) && isset($_POST['report_btn']) ) ) {...}
I'm wanting to remove one of the exclamation marks to see if I can make the code a bit tidier. The logic is to see if I can execute the code if POST data has been sent to a page but the 'report_btn'
value is not set.