How to apply a function if conditon a & b [closed]

Finally i find answer.
The perfect code is

<?php $author_id = $post->post_author; if (get_the_modified_time() != get_the_time() && ( $author_id != 1 )): ?>

That’s all.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)