Create dynamic folder from recordset value
I have searched and read related posts and do not find exact solutions.
I have created the admin pages for photo Administration. The insert page has a dynamic drop-down menu to select an issue. Based on the selected issue, the next dynamic drop-down menu will only display the articles related to the issue. This is working perfectly.
The image "Upload Folder" contains static folders and a dynamic value from the issue recordset:
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../img/archives/articles/".$row_WADAMenuri_arcPhotoIssueID['IssueNumber'] ."",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "2",
'ResizeWidth' => "220",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult1_1 End
When I insert the first photograph, a dynamic folder is created successfully. However, when I insert more photographs for different issues, the photographs are all added to the original dynamic created folder. No new dynamic folders based on the issue is created.
How/where would I get/retrieve the dynamic-created-folder above to display thumb for the results page?
<img src="../img/archives/articles/list/(dynamic-created-folder)<?php echo $row_WADAri_PhotosArchive['ri_arcPhotoLandscapeFile']; ?>" alt="alt">
Thanks in advance for the assistance.