View Single Post
Old 09-27-2010, 04:08 PM   #1 (permalink)
thepriebe
The Visitor
Newcomer 
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
thepriebe is on a distinguished road
Default Passing classes among PHP pages

Hello,

I'm trying to make a website using OOP with classes. Aside from passing a class using the $_GET and $_POST, how do I use an instance of a class on more than the in which the class is instantiated?

For instance, I have a class in organization.php, I create an instance of it in class.php, but I want to use variables set in class.php in test.php.

Suggestions?
thepriebe is offline  
Reply With Quote