Quote Originally Posted by Design75 View Post
I haven't looked at the complete code, but I think you can use something like:
PHP Code:
if(isset($_GET['cID']) && ($_GET['cID'] == $notes_active->customers_id) && !isset($_GET['gID']) ||(($notes_customer_result->RecordCount() > 0) && ($notes_customer_result->fields['customers_id'] == $notes_active->customers_id)) && !isset($_GET['gID'])) 
Thanks for the help! Unfortunately, that threw a fatal error: PHP Fatal error: Uncaught Error: Call to a member function RecordCount() on null