Patrick,

The variable raidID will be available to you on the signup page.

You can print it
<cfoutput>#raidID#</cfoutput>
You can stick it into another variable
<cfset newVar="This is raidID: "&raidID>
You can stick it into a table
<cfquery name="insert" datasource="things">
insert into stuff (raidID) VALUES (#raidID#)
</cfquery>

Now, for some more advanced ideas, since the above would not be
considered "best practices":
raidID will actually be coming to you in a scope called url.

So you can reference it by:
raidID
or the more correct
url.raidID

In the query above, I should have used <CFQUERYPARAM> to make sure
that the ID I am passing into the db is clean and can't hurt my db.

Does this help at all?
Jerry Johnson

On 1/12/06, Patrick Reiner <[EMAIL PROTECTED]> wrote:
> Hi again!
>
> Ok after a good deal of work, I am now being hosted on hostmysite.com, with 
> coldfusion support!! Very exciting!
>
> Random programming question I can't figure out for the life of me. If I do 
> something like this from one of my pages:
>
> <A href="signup.cfm?raidID=32">Sign-Up</A>
>
> Now, how would I retrieve the value of "32" stored in raidID on my signup.cfm 
> page? I've tried so many things but it keeps telling me raidID is undefined. 
> But didn't I pass it with the link? I'm not sure what to do, and I havent 
> been able to find anything in the CF documentation about it. Thanks for the 
> help!!
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1563
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to