Empty()?

I have a “Linkedin” field in my mysql table
If that field is set to something, im trying to show a link, bu this seems to always e true, whats the right way to check?


$LinkedIn = $row['Linkedin'];
...
<? if(empty($LinkedIn)) ?>

<?php

if(!empty($linkedIn)) {
    //code to show link
}

?>

thanks