fella
|
| Posted: 05/24/2005, 3:38 AM |
|

Hi, just a small problem i'am sure.
What I have is a variable from a login function. I have $echo it and the variable is there.
Can somebody show or help me with the syntax required to capture the variable in the datasource -> parameter soruce.
variable name is - $club_name.
or do i need to execute an sql statement to capture the variable.
Hope somebody can help?
Fella
|
|
|
 |
Nicole
Posts: 586
|
| Posted: 05/24/2005, 5:30 AM |
|
Fella,
Do you mean that you store any value in a variable created in onCLick event of Login button and then want to use it as parameter source on a different page. You can pass this variable via URL adding it to $Redirect variable in the events code
$Redirect = CCGetParam("ret_link", $Redirect) . “?param_name=” . $club_name;
Or you can store it into custom session variable and so it is accessible on other pages. You can retrieve a session value using CCGetSession() function.
_________________
Regards,
Nicole |
 |
 |
fella
|
| Posted: 05/24/2005, 6:13 AM |
|

Thanks Nicole, that clears it up. Great advice, as usual.
Regards
Fella
|
|
|
 |
|