logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



PHP - How to Pass Variables from Page to Page?

 
Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner



View previous topic :: View next topic  
Author Message
Aznsilvrboy



Joined: 06 Jul 2006
Posts: 11

PostPosted: Sat 09 Dec '06 2:23    Post subject: PHP - How to Pass Variables from Page to Page? Reply with quote

Hi, I have variables named $count1, $count2, $count3 and etc in page1.php. I wan't to pass these variables to page2.php without using a form. How would I go about to so? Thanks.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Sat 09 Dec '06 9:41    Post subject: Reply with quote

You can use sessions

www.php.net/session

and

http://www.php.net/session_start

There are many good tutorials in the web if you google php session_start
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner
Page 1 of 1