View Single Post
Old 08-01-2009, 03:15 PM  
ProG
Confirmed User
 
Join Date: Apr 2009
Posts: 1,319
It's a good function for sure I only see one issue..

If the link has any extra info it isn't going to match. For example:

Code:
$url = 'http://www.crazyfilth.com/';
$anchor_text = 'Porn Videos';
$html = '<a href="http://www.crazyfilth.com/?PHPSESSID=777" id="extra">Porn Videos</a>';
__________________
History will be kind to me for I intend to write it.
ProG is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote