<CFLOOP query="myQuery">
 <CFSCRIPT>
    myvariable = myQuery.Link & "?urlvariable=" & myQuery.otherquerydata;
 </CFSCRIPT>
</CFLOOP>

You need the semicolon at the end? other than that looks like it was right?

John Anderson
http://www.aloha-webdesign.com

-----Original Message-----
From: Jeffry Houser [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 2:03 PM
To: CF-Talk
Subject: String Concatenation in CFSCRIPT



   I suppose the subject says it all.

   How do you perform string concatenation in CFSCRIPT?

   This isn't working:

<CFLOOP query="myQuery">
 <CFSCRIPT>
    myvariable = myQuery.Link & "?urlvariable=" & myQuery.otherquerydata
 </CFSCRIPT>
</CFLOOP>

   I don't have the original code, since I already re-worked it to
accomplish
what I wanted, but I was curious to know for the future.  I also tried to
use
the Insert function, and that also seemed to have no effect.

--
Jeff Houser | mailto:[EMAIL PROTECTED]
AIM: Reboog711  | ICQ: 5246969 | Phone: 860-229-2781
--
Instant ColdFusion 4.5  | ISBN: 0-07-213238-8
Due out 3rd Quarter 2001
--
DotComIt, LLC
database driven web data using ColdFusion, Lotus Notes/Domino
--
Half of the Alternative Folk Duo called Far Cry Fly
http://www.farcryfly.com | http://www.mp3.com/FarCryFly
--
I've got the brains, you've got the looks, let's make lots of money
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to