Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

session variables

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

session variables

Postby robertrfp » Thu Apr 17, 2014 4:40 pm

SOLVED!

3 php scripts are involved...

1.php = contains an html form that prompts user for inputs (method get). Those inputs are stored in a session variable and by virtue of the form action script 2.php is called.

2.php = produces an html table based on the user inputs from 1.php via session variables. A submit button is used to allow user to access script 3.php.

3.php = produces another html table and the 1.php user inputs are needed to be successful.

1.php works as intended and so does 2.php however, in 3.php the session variables are blank.
robertrfp
New php-forum User
New php-forum User
 
Posts: 5
Joined: Sun Apr 06, 2014 11:24 am
Location: Englewood, FL

Re: session variables

Postby arobert74 » Sun Apr 27, 2014 3:32 pm

Do you have any information on how to create session variables?
I just posted my question in the forum and think what you describe is what I am trying to have, but I am new to PHP.
Thanks!
arobert74
New php-forum User
New php-forum User
 
Posts: 6
Joined: Sun Apr 27, 2014 3:17 pm

Re: session variables

Postby seandisanti » Sun Apr 27, 2014 7:13 pm

Here's a quick video example of session usage from Jesse Boyer, creator of jream.com
https://www.youtube.com/watch?v=TOMLpOSlkto
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm

Re: session variables

Postby arobert74 » Mon Apr 28, 2014 6:14 am

Thanks for the link!
arobert74
New php-forum User
New php-forum User
 
Posts: 6
Joined: Sun Apr 27, 2014 3:17 pm

Re: session variables

Postby seandisanti » Mon Apr 28, 2014 8:22 am

no problem, I'm glad I could help
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.