I have been stuck trying to accomplish a small task for a project I'm working on, involving fetching some specific info from a string..
I have tried messing with 'explode', 'preg_split', etc.. and I can't seem to get the results I need.
Within a variable is basically a whole bit of php for displaying pictures in a table (with rows, etc..).
I want to split the variable into an array and each part of the array should contain a url beginning with certain characters from the original variable..
ie..
$boardurl.'/mgal_data/albums/'
... but it should stop feeding the array with characters when it hits the next quotation inside that variable which would be the end of that specific url in that part of the array.
(The original variable may contain several urls and I would like it to feed them all into the array.)
Hopefully I explained this clearly enough.
Thanks.
UD