Hi,
> Would have to have a test, but to be honest I haven't "hand coded" > a comment > in years... That's what Eclipse is for they make it easy with a > click of a > button :) > > Would it actually fail/error? > It fails for me, correcting the comment stops the errors. -Jason On Nov 11, 2006, at 9:41 AM, Robertson-Ravo, Neil (RX) wrote: > Would have to have a test, but to be honest I haven't "hand coded" > a comment > in years... That's what Eclipse is for they make it easy with a > click of a > button :) > > Would it actually fail/error? > > > > > > > > "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, > Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed > Business, > Registered in England, Number 678540. It contains information > which is > confidential and may also be privileged. It is for the exclusive > use of the > intended recipient(s). If you are not the intended recipient(s) > please note > that any form of distribution, copying or use of this communication > or the > information in it is strictly prohibited and may be unlawful. If > you have > received this communication in error please return it to the sender > or call > our switchboard on +44 (0) 20 89107910. The opinions expressed > within this > communication are not necessarily those expressed by Reed > Exhibitions." > Visit our website at http://www.reedexpo.com > > -----Original Message----- > From: Bobby Hartsfield > To: CF-Talk > Sent: Sat Nov 11 14:36:30 2006 > Subject: RE: Code Question > > It makes all the difference actually and would never make it to an > HTML > comment. Everything after that "<!---" will be a CF comment and > cause the > error since it doesn't have a closing '--->' > > All opening tags before the <!--- --> will not have ending tags if > they fall > after the malformed comment. > > > -----Original Message----- > From: Robertson-Ravo, Neil (RX) > [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 11, 2006 2:38 AM > To: CF-Talk > Subject: Re: Code Question > > Shouldn't make any difference - it would just end up being an HTML > comment, > albeit incorrect. > > > > > > "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, > Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed > Business, > Registered in England, Number 678540. It contains information > which is > confidential and may also be privileged. It is for the exclusive > use of the > intended recipient(s). If you are not the intended recipient(s) > please note > that any form of distribution, copying or use of this communication > or the > information in it is strictly prohibited and may be unlawful. If > you have > received this communication in error please return it to the sender > or call > our switchboard on +44 (0) 20 89107910. The opinions expressed > within this > communication are not necessarily those expressed by Reed > Exhibitions." > Visit our website at http://www.reedexpo.com > > -----Original Message----- > From: Doug Brown > To: CF-Talk > Sent: Sat Nov 11 02:50:24 2006 > Subject: Re: Code Question > > this line should read > > <!--- login failed ---> > > and not > > <!--- login failed --> > > > ----- Original Message ----- > From: "Jason T. Slack" <[EMAIL PROTECTED]> > To: "CF-Talk" <[email protected]> > Sent: Friday, November 10, 2006 7:44 PM > Subject: Code Question > > >> Today is my first day with CF. >> >> I am trying to create a login procedure. I have MySQL setup and >> created a DSN. >> >> I am trying to run: >> >> <cfquery name="ckCreds" datasource="#MyDSN#"> >> SELECT LocationName FROM >> WHERE LocationID = '#form.user#' >> AND LocationPassword = '#form.password#'; >> </cfquery> >> >> <cfif ckCreds.recordCount EQ 1> >> <!--- successful login --> >> >> <CFAPPLICATION NAME="mysession" SESSIONMANAGEMENT="Yes" >> SESSIONTIMEOUT="#CreateTimeSpan(0, 0, 20, 0)#"> >> ] >> <cflocation url="main.cfm" /> >> <cfelse> >> <!--- login failed --> >> <cflocation url="index.cfm" /> >> </cfif> >> >> >> and I am getting an error that states: >> >> Invalid token '>' found on line 18 at column 8. >> >> But that specific place is a blank space. >> >> I dont see what I am doing wrong so far. >> >> I just bought Ben Forta's book yesterday, good read so far. >> >> -Jason >> >> >> > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260008 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

