Does anybody know why this works on my pc and not on someone elses??
$article = "Click Here";
$article = eregi_replace("\\*)\\]([^\\[]*)\\[/url\\]","<a href=\"[URL unfurl="true"]http://\\1\" target=\"_new\">\\2</a>",$article);
It should take "Click Here and make it <a href=" Here</a>
Like I say this works fine for me but not elsewhere - does it work on yours?? Any ideas why it might not be working??
Cheers
Rob
$article = "Click Here";
$article = eregi_replace("\\*)\\]([^\\[]*)\\[/url\\]","<a href=\"[URL unfurl="true"]http://\\1\" target=\"_new\">\\2</a>",$article);
It should take "Click Here and make it <a href=" Here</a>
Like I say this works fine for me but not elsewhere - does it work on yours?? Any ideas why it might not be working??
Cheers
Rob