> It makes sense if what I'm about to say is correct... your 
> code loops over the variable #firstday# 31 times and  
> #firstday# takes the value of the index named "firstday" each 
> time it loops.

Err - yea - kinda. Your wording is a bit convaluted - but maybe it's
just me. Think of it like this - ColdFusion says to itself "I'm going to
loop from 1 to 31, and store the current row in a variable called
Whatever"


> Now, Tony's code is a bit more refined than mine because it 
> outputs the number of days in the month we're currently in, correct?

Correct (well, I thikn so, I don't remember Tony's code exactly). I
didn't make my code do that because I thought you were asking for a
select box that asked the user how many days were in the month.

On a side note - why would you -ever- ask the user that? Just ask the
user for the month and year and CF can figure out how many days are in
the month. 

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
Member of Team Macromedia

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to