2015-03-17, 00:54:16
I can't make explode work.
It doesn't work on the string returned but work if I hardcode a string instead...why is this?
Also if I use the improved file manager there are no preview thumbs.
They are all black with the text "Wrong path" - why is this?
Below works when string is hardcoded.
A soon as I use the explode doesn't work...
Niklas
It doesn't work on the string returned but work if I hardcode a string instead...why is this?
Also if I use the improved file manager there are no preview thumbs.
They are all black with the text "Wrong path" - why is this?
Below works when string is hardcoded.
Code:
$images = explode('||', 'http://localhost/bootstraptema/data/uploads/box1.jpg||http://localhost/bootstraptema/data/uploads/box2.jpg');
foreach($images as $image){
echo '<img src="'.$image.'">';
}
A soon as I use
Code:
$images = explode('||', get_special_field_image('image'));
Niklas