dflow Posted September 17, 2009 Share Posted September 17, 2009 i have seen that in several sites and forums there is a script that creates automatic href links on defined keywords for example if i would Dell it would get a href link with alt text information and link to a store or whatever how would you approach that? Link to comment https://forums.phpfreaks.com/topic/174614-create-automatic-href-for-specified-keywors-and-key-phrases/ Share on other sites More sharing options...
Psycho Posted September 17, 2009 Share Posted September 17, 2009 preg_replace() See example #2 http://us3.php.net/manual/en/function.preg-replace.php Or maybe, preg_replace_callback http://us3.php.net/manual/en/function.preg-replace-callback.php Link to comment https://forums.phpfreaks.com/topic/174614-create-automatic-href-for-specified-keywors-and-key-phrases/#findComment-920230 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.