FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Preg replace problem





alalex
Hi, I have a preg_replace problem:
I have some content with stuff that I want to link. The problem is that the URL must vary depending on the linked word. What I have is some DJs appearing in the content in the form of DJ NameOfDJ and i want to link that to image http://NameOfDJ.com

How can that be done with preg_replace?
bernardnapoleon
address not found dude...
rvec
rofl

I don't really get the what you're trying to do, but it doesn't look like you need preg_replace.
Related topics
small problem...hope you can help
Word 2003 problem
Detecting accents
Problem with a new motherboard
Java bufferedReader problem
Header phase problem
How to solve Windows XP Login Logoff problem
Replacement of hexadecimal values in PHP string
why monitor wont turn off after shut down??
HFSS - how bad is the problem? Where is the line?
wat is er fout aan mijn script?
problem with validation script
php need help:how to replace these strings ?
preg_replace Problem
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.