From The Blog

Jan
24
January 24, 2011

Lately I had to do some work for the status.arrowquick.com website that involved learning about anonymous functions. What I needed to do was add the appropriate CSS class to each hyperlink inside a bit of HTML. To do this, I chose to use preg_replace_callback(), which replaces a matching string with the results of a specified function. $cat_class_callback_info […]