Time:
Scotland: Fri, 11:09 pm
Rhode Island: Fri, 6:09 pm
Florida: Fri, 6:09 pm
New Mexico: Fri, 4:09 pm
California: Fri, 3:09 pm

Click here to visit Livelife365.com

Click here to visit nmdarts.com



Buy this Ad Space.

180px wide.

Please get in touch with KH@ if you are interested and make an offer.

CLICK HERE TO GET AUCTION BAR NOW
US$10 per year - Save $100s!
The Fabulously Unfair
WebX Auction Bar. For Ebay etc.
Ro-Sham-Bo the opposition. Laugh like Eric Cartman when you win! CLICK HERE NOW!


More information and sign-up.

WebXpertz Hosting.
Custom fit from $5pm. PHP/MySQL
You'll save money, we'll save money. Seems fair to me. Interested? If so Please PM me here and tell me what you need. Thanks!


Please click here for more information

For continued disscussion on this topic : SWAP-LISTs


Prab
12-16-2004, 06:34 AM
Hello

I am developing one application in COLDFUSION 5, in which i am storing category names as a comma separated string.
but am showing the values in row wise, my problem is , I want to swap the items.
CatList=Fruits,Flowers,Sweets

<select name="CategoryID" size="15" >
<cfif listlen(CatTitle) gt "0">

<cfloop index="i" list="#CatTitle#" >
<cfoutput>
<option value="#i#">#i#</option></cfoutput>
</cfloop>
</cfif>
<cfif listlen(CatTitle) eq "0">
<option>There are no Categories
</cfif>

My select box will have
==========
Fruits
Flowers
Sweets

if i wanto move sweets to top
now my CatList=Sweets,Fruits,Flowers.

Pls any one can suggest how to achieve this.

Thanks & Regards,

PRab