Menu
I have a preg_replace problem. I am trying to get this statement to replace all instances of “St. Patrick’s Day” to a link to my patties day page!
[code=php]$details = preg_replace(‘/w(St. Patrick’s Day?)w/i’, “<a href=”erie-bars-directory/st_patrick’s_day_erie.php”>$1</a>”, $details);
is this right because it don’t do anything?