|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
acessing variable from a page
How do I access a variable from a page.
I keep coming across this: myurl.cfm?variablename=value but I just need GET the variable So I need the corrent syntax for: <cfoutput> myurl.cfm?#myvariable# </cfouput> where #myvariable# is a variable from that page. thanks |
|
#2
|
|||
|
|||
|
If you run a CF page with a URL like this:
index.cfm?username=joe then you can get at that variable on the page like this: <cfoutput> #url.username# </cfoutput> If this isn't clear to you I strongly urge you to read the documentation or pick up a good CF book, because this is about as basic as anything in CF development can be.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > acessing variable from a page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|