double quotes must be escaped...

<CFSET target= '"" target=new'>
 <CFSET new='uploads/'&TRIM(Y)&target>

OR, if you use double quoted strings...

<CFSET target= """ target=new">
 <CFSET new="uploads/"&TRIM(Y)&target>

+-----------------------------------------------+
Bryan Love
  Macromedia Certified Professional
  Internet Application Developer
  Database Analyst
Telecommunication Systems
[EMAIL PROTECTED]
+-----------------------------------------------+

"...'If there must be trouble, let it be in my day, that my child may have
peace'..."
        - Thomas Paine, The American Crisis



-----Original Message-----
From: Chakka, Sudheer [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 10:32 AM
To: CF-Talk
Subject: How can I do this???


Hi,

 <CFSET target= '" target=new'>
 <CFSET new='uploads/'&TRIM(Y)&target>
  ...

 As soon as I execute this CFApplicationServer processor usage % is shooting
upto 90 and 100.
 
 The last '>' is till in blue color, making the next lines as part of target
string and screwing from not executing my next part of code.


  Any help on this appreciated.

Thanks,
Sudheer Chakka.


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to