i have following variable $row_messagerepliesresults['msgreplytext'] , below data inside database variable
your website <a href=\"http://www.example.com/link.php\" target=\"\" rel=\"\">http://www.example.com/links.php</a> without content \"not guaranteeing ctr\". the problem have when echo variable content \ appear too, wondering how use preg_replace in order rid of them. tried blank data.
thanks!
if strings similar 1 (no escape characters except quotes) don't need use preg_replace(); simple str_replace() do.
$newstring=str_replace("\\","",$row_messagerepliesresults['msgreplytext']);
Comments
Post a Comment