i am having problem in adding the target=_blank to links. My link is coming in a variable from the database.
buy it:<?php echo $abc ?>
If i use firebud then it looks like:
buy it:<a href="https://rads.stackoverflow.com/amzn/click/com/B007DB7O2Q" rel="nofollow noreferrer"> Amazon </a>
please let me know how will i add target=_blank to this link.
If your links are in the database you could do something like str_replace(“<a “, “<a target=’_blank’ “, $var):