Do a simple <CFIF>

Here's what I've used..

<CFOUTPUT QUERY="ListOrders">
<CFIF NAME IS "." OR NAME IS "..">
<CFELSE>
<A HREF="#WebRoot#Orders/#NAME#">#NAME#</A><BR>
</CFIF>
</CFOUTPUT>

Where "ListOrders" is the name of my CFDIRECTORY query.

HTH,
Judith

Joshua Tipton put into words:
>How can I keep the . and the .. from showing when I display the contents of
>a directory?
>
>Joshua Tipton

Judith Taylor
ICQ: 67460562
Freelance ColdFusion Developer

Friends don't let friends code before coffee.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to