I have a string called $gallery
, $gallery
is a list of image URLS The image urls are seperated by a semi- colon ;
. Example
http://www.website.com/image1.jpg;http://www.website.com/image2.jpg;http://www.website.com/image3.jpg
How can I split this up and place each url in an image tag, I suppose using preg_split?
Thanks