Meta Tags by Meta Box

This is really just a PHP question, but since there is no Core function to do this…

I’d use !empty(). Otherwise just echo a string.

$mcontent = get_post_meta($post->ID, "vw_citation_title", true);
if(!empty($mcontent)) {
    echo '<meta name = "citation_title" content = "''.$mcontent.'" >';
}

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