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? Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.