Link to home
Start Free TrialLog in
Avatar of TrinitySJ
TrinitySJ

asked on

find image in mysql db var

hello,

I have a string returned from a database that would be something like:

$text = 'This is one of the best parts from that show.. 
http://www.google.com/imgres?imgurl=http://electroshadow.com/wp-content/uploads/2013/12/Emilia-terminator.jpg&imgrefurl=http://pixgood.com/game-of-thrones-women-characters.html&h=472&w=730&tbnid=miKaPC8vUJB-oM:&zoom=1&docid=87cxIHi6dk_NYM&ei=WlosVcWiGYirgwSGqYDYBQ&tbm=isch&ved=0CE4QMygVMBU'

Open in new window



what i want to do it return the image in the post by stripping out the image and placing the image after the text.

Hope that this makes sense.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of NerdsOfTech
NerdsOfTech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial