KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm using preg_replace_callback to find and replace textual links with live links: http://www.example.com to <a href='http://www.example.com'>www.example.com</a> The callback function I'm providing the function with is within another class, so when I try: return preg_replace_callback($pattern, "Utilities::LinksCallback", $input); I get an error claiming the function doesn't exist. Any ideas?
Tags (comma-separated)
Save Edits
Cancel