Hide wordpress field if data is empty in post!

You can just make a simple check, to see if you have this meta

$author = get_post_meta(get_the_ID(), 'Author:', true);

if ( $author ) :
    echo '@ ' . $author;
endif;

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