you da man!ta - I'll give this a go
-Original Message-
From: Bryan Love [mailto:[EMAIL PROTECTED]]
Sent: 26 April 2002 18:23
To: CF-Talk
Subject: RE: Dynamic Var names
cfset client.variable#url.test# = bla bla
cfoutput
#evaluate(client.variable url.test
cfset client.variable#url.test# = bla bla
cfoutput
#evaluate(client.variable url.test)#
or
#evaluate(client.variable#url.test#)#
/cfoutput
+---+
Bryan Love
Macromedia Certified Professional
Internet Application Developer
Like so:
cfset client.variable#URL.Test# = some_value
OR
cfset evaluate(client.variable#URL.Test#) = some_value
I'm told the first method is a little quicker, and it's obviously less
typing, and easier to read (in my opinion).
Shawn Grover
-Original Message-
From: Andy Ewings
Where URL.Test=test
cfscript
SetVar('Client.' URL.Test,1)
/cfscript
Now #Client.Test=1#
var. e.g. test=1 and you want client.variable#url.test#.
__
This list and all House of Fusion resources hosted by CFHosting.com. The
Make that
SetVariable('Client.' URL.Test,1)
oops...
Where URL.Test=test
cfscript
SetVar('Client.' URL.Test,1)
/cfscript
Now #Client.Test=1#
var. e.g. test=1 and you want client.variable#url.test#.
__
Get the
[mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 10:29 AM
To: [EMAIL PROTECTED]
Subject: Re: dynamic var names
Looks like your one of the few with good DNS.
Oh, and you can do this:
CFSET variable#id# = 5
OR
CFSET SetVariable('variable'id, 5)
- Original Message -
From
6 matches
Mail list logo