Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [AtoZ] Dividing Category Listings with Headings according to field=x or y or z: Edit Log

Here is the list of edits for this post
Re: [AtoZ] Dividing Category Listings with Headings according to field=x or y or z
This is for the benefit of any other poor souls who search the forum listings to find answers to their problems only to find dead end posts like this one. I found the solution....

('what' is the name of a column in my database for indicating the type of resource)

TYPE 1
<%loop links_loop%>
<%if what eq 'type1'%>
<%include link.html%>
<%endif%>
<%endloop%>
TYPE 2
<%loop links_loop%>
<%if what eq 'type2'%>
<%include link.html%>
<%endif%>
<%endloop%>
TYPE 3
<%loop links_loop%>
<%if what eq 'type3'%>
<%include link.html%>
<%endif%>
<%endloop%>

AND SO ON...

I have a new question regarding this loop feature in the following post.
How do I include listings with a field=something *AND* anotherfield=somethingelse??? HELP!
http://www.gossamer-threads.com/...i?post=203300#203300

Last edited by:

AtoZ: Jun 29, 2002, 2:22 PM

Edit Log: