PHP add target="_blank : <p>I hope everyone doing great, I need help how I can add target blank to a specific code </p>

<p>this is the code:</p>

<pre><code>if( !empty($social_fb) ){
        $result .= '&lt;a href="'.esc_attr($social_fb).'"&gt;&lt;i class="fa fa-facebook"&gt;&lt;/i&gt;&lt;/a&gt;';
    }
</code></pre>

<p>I try to add this:</p>

<pre><code>if( !empty($social_fb) ){
        $result .= '&lt;a href=" target="_blank'.esc_attr($social_fb).'"&gt;&lt;i class="tana-social tana-size-26 tana-facebook tana-circle fa fa-facebook"&gt;&lt;/i&gt;&lt;/a&gt;';
    }
</code></pre>

<p>but not work!</p>

<p>I hope someone can help me, many thanks in advances!
Regards
Manny</p>
