Hey all!


Anyone know why this code doesn't return the right day of week?
<cfset firstDayOfcurrMonth =
DayOfWeek(FirstDayOfMonth(createdate(url.currYear, url.currMonth,
url.currday)))>


I get the wrong day!  Even if I replace the variables url.currYear,
url.currmonth, url.currday with now() I still get the wrong day returned!


<cfset firstDayOfcurrMonth = DayOfWeek(FirstDayOfMonth(now()))>


Any help would be great!!!!


Gabriel
-----Original Message-----
From: Philip Arnold [mailto:[EMAIL PROTECTED]
Sent: October 16, 2003 1:13 PM
To: CF-Talk
Subject: RE: Quotes in a Text Box Problem


HTMLeditFormat() escapes all special characters for you, including
quotes, ampersand, greater than and less than

Don't try to do it with Replace as you're just going to have several of
them to cover every eventuality

-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 12:30 PM
To: CF-Talk
Subject: Quotes in a Text Box Problem

If #import_detail.PA_SIZE# equals the value of: 15"x34"

This will display correctly inside a CFOUTPUT statement:

<cfoutput>Product Size: #import_detail.PA_SIZE#<cfoutput>

      will display correctly as

Product Size: 15"x34"

BUT......

This:

<input type="text"
        name="PA_SIZE"
        value="<cfoutput>#import_detail.PA_SIZE#</cfoutput>"
        size="32">

will show the text box and cut off after the first quote, so I get a
text box with just 15 in it.....

I know there's a fix, I just ain't found it yet.

Ideas?

TIA

  _____  

  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to