did I say free password?? musta ment free, umm, umm, umm lol but see if you join then that's more $$ she will spend on me :)
actually that was a good one to submit as a snippet if you all have some good lil snippets or code like that, it would be cool if you could add them to the coldfusion snippets at www.dwfaq.com you submit the code and Angela turns them into nice snippets & there aren't very many for coldfusion. so I added that 1 and gave the you all dibs & thank you's on it. ----- Original Message ----- From: "Mosh Teitelbaum" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 11:21 PM Subject: RE: simple tag aint working > The problem is in your CFELSEIF expressions. You can't have an expression > along the lines of: > > expression (meets condition 1) AND (meets condition 2) > > It has to be: > > (expression meets condition 1) AND (expression meets condition 2) > > So your code should be rewritten as: > <!--- welcome time of day greeting ---> > <cfif Hour(Now()) LT 12> > Good morning early bird > <cfelseif (Hour(Now()) GTE 12) AND (Hour(Now()) LT 17)> > Good Afternoon > <cfelseif (Hour(Now()) GTE 17) AND (Hour(Now()) LTE 24)> > Good Evening > </cfif> > <!--- end time of day greeting --> > > So, what's this free password thing all about? ;-) > > -- > Mosh Teitelbaum > evoch, LLC > Tel: (301) 625-9191 > Fax: (301) 933-3651 > Email: [EMAIL PROTECTED] > WWW: http://www.evoch.com/ > > > > -----Original Message----- > > From: Dave Lyons [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, January 22, 2003 11:07 PM > > To: CF-Talk > > Subject: simple tag aint working > > > > > > finally getting around to playing with cf > > i am trying to make a simple time of day greeting > > but i am getting an error for a closing </cfif> tag but I cant > > put it where it says to and when i do It still errors > > I'll get you a password tony if you show me the light, lol > > > > <!--- welcome time of day greeting ---> > > <cfif Hour(Now()) LT 12> > > Good morning early bird > > <cfelseif Hour(Now()) GTE 12 AND LT 17> > > Good Afternoon > > <cfelseif Hour(Now()) GTE 17 AND LTE 24> > > Good Evening > > </cfif> > > <!--- end time of day greeting --> > > > > > > Dave Lyons > > [EMAIL PROTECTED] > > www.DreamLofts.com > > www.DreamLofts-WebDesigns.com > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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