Hello,
i am stuck. How can i get my PHP code working? I am trying to extract image names from one of my fields to generate HTML:
It seems that i am using the wrong code at the first line ($form->data['file_upload_fotos']). How to access the fields listed in >Columns list< to get the image names from the String?
Thanks & kindest regards,
AK
i am stuck. How can i get my PHP code working? I am trying to extract image names from one of my fields to generate HTML:
<?php
$fotostring = $form->data['file_upload_fotos'];
$fotos = explode(",", $fotostring);
echo $fotostring;
foreach ($fotos as &$value) {
$HTMLString = $HTMLString . "<p><img src='images/ambiente_creator/{article_model.user_name}/$value' alt='' />" ;
}
echo $HTMLString;
?>
It seems that i am using the wrong code at the first line ($form->data['file_upload_fotos']). How to access the fields listed in >Columns list< to get the image names from the String?
Thanks & kindest regards,
AK