• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Struct with cf dire

Participant ,
Feb 26, 2007 Feb 26, 2007

Copy link to clipboard

Copied

Hi all.

I am trying to output the value of "TYPE" from the "image" object...somehow I am not..Any help will :D
The code is attached.
TOPICS
Advanced techniques

Views

243

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Feb 26, 2007 Feb 26, 2007
Try the code below.

Votes

Translate

Translate
LEGEND ,
Feb 26, 2007 Feb 26, 2007

Copy link to clipboard

Copied

emmim44 wrote:
> Hi all.
>
> I am trying to output the value of "TYPE" from the "image" object...somehow I
> am not..Any help will :D
> The code is attached.
>
>
> <cfoutput>
> <cfdirectory action="list" directory="d:/cfusionmx/wwwroot" name="image">
> <cfdump var="#image#">
>
>
> <cfloop collection="#image#" item="i">
> #Evaluate("image." & type)#<BR>
>

> </cfloop>
>
> </cfoutput>
>

<cfdirectory action="list" directory="d:/cfusionmx/wwwroot"
name="imagelist">
<cfoutput>
<cfloop query="imagelist">
#imagelist.name# #imagelist.type#<br>
</cfloop>
</cfoutput>


--
Azadi Saryev
Sabai-dee.com
Vientiane, Laos
http://www.sabai-dee.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 26, 2007 Feb 26, 2007

Copy link to clipboard

Copied

Try the code below.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 26, 2007 Feb 26, 2007

Copy link to clipboard

Copied

LATEST
Thank u all. Good job...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation