CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 attach variable to parameter source...

Print topic Send  topic

Author Message
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
View profile  Send private message
fella
Posted: 05/24/2005, 6:13 AM

8-)
Thanks Nicole, that clears it up. Great advice, as usual.

Regards
Fella

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.