Change ahref html code inside php to open in new window?

Started by Random Username, February 08, 2023, 04:48:50 PM

Previous topic - Next topic

Random Username

Could someone assist, pretty please? Thank you!

<a href="', $scripturl, '?action=shoutbox;sa=likes;u=', $member['id'],'">', $member['shoutbox_likes'], '</a></td>';


You need to add: target="_blank"
Would look like this:

<a href="', $scripturl, '?action=shoutbox;sa=likes;u=', $member['id'],'" target="_blank">', $member['shoutbox_likes'], '</a></td>';
I tell it how I see it... Don't like it? Hit Alt+F4!