CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Get value from other page

Print topic Send  topic

Author Message
lgalocgoc2

Posts: 35
Posted: 12/06/2012, 3:49 AM

hello,

any idea on how I can get the inputted value from other page?

i.e: I have a register page and a thank you page, in a register page, i asked user to input their information and once they hit register button, it redirects them to the thank you page, now I want to display his/her first name in the thank you page but how can I get the firstname value from the registration page?

please help.

thanks.
View profile  Send private message
Gena

Posts: 591
Posted: 12/06/2012, 4:37 AM

put it in session or cookie variable
then retrieve
_________________
Gena
View profile  Send private message
lgalocgoc2

Posts: 35
Posted: 12/06/2012, 4:43 AM

Quote Gena:
put it in session or cookie variable
then retrieve

thanks for your reply..but how? any hint? im sorry but i am new with CCS.

View profile  Send private message
Gena

Posts: 591
Posted: 12/06/2012, 5:11 AM

something like this

in the Register form, on Validate event put code

CCSetSession("your_firstname",$Component->firstname ->Getvalue()");


in Thank you page put Label, in BeforeShow event put code like
$Component->LabelName->Setvalue( CCGetSession("your_firstname","") )";

_________________
Gena
View profile  Send private message

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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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