close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Create dynamic folder from recordset value

Thread began 1/13/2014 4:15 am by FrankJay | Last modified 1/13/2014 4:23 pm by FrankJay | 367 views | 7 replies

FrankJay

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.

Kindly assist.

How/where would I get/retrieve the dynamic-created-folder above to display thumb for the results page?

eg.
<img src="../img/archives/articles/list/(dynamic-created-folder)<?php echo $row_WADAri_PhotosArchive['ri_arcPhotoLandscapeFile']; ?>" alt="alt">

Thanks in advance for the assistance.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...