View Single Post
Old 01-11-2010, 01:48 PM   #1 (permalink)
babyrats
The Visitor
Newcomer 
 
Join Date: Jan 2010
Posts: 1
Thanks: 0
babyrats is on a distinguished road
Default Getting img urls from a large string

First a big hi to everyone at talkphp.com. And a warning, I am pretty new to coding, with only a months worth of php studying. So please if you are able to answer, dumb it down like you are talking to a baby.

I am making a review site (to learn) where users can submit their own reviews. If they put a image into a textbox the image URL gets sent to resize.php with the image url in querystring.

All the review is held in $review and I was wondering if there is a way for me to grab all URLs in that variable before getting resized so I can also make the resized image a link.

E.G <a href="link_to_original.jpg"><img src="resizedImage.jpg" /></a>


If this is a awful explanation please tell me and I will try to re-write it. Always have been bad at explaining *sigh*
babyrats is offline  
Reply With Quote