Hello list I'm trying to replace the string say <a href="http://www.mysite.gr"> with <a href=http://www.mysite.gr target="_blank"> with no luck
I use the code:
ereg_replace("^<a href=\"([:alnum:])\">$", "<a href=\"\\1\"
target=\"_blank\">", $string)
I echo the result but nothing changing.
What Im doing wrong?
Thanx
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
