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
PHPMySQL ServerImages and Photos

Avatar of undefined
Last Comment
NerdsOfTech

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
NerdsOfTech

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck