note 49187 deleted from ref.classobj by vincent
| From: | vincent@php.net | Date: | Wed, 19 Jan 2005 13:00:28 +0000 |
| Subject: | note 49187 deleted from ref.classobj by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83621@lists.php.net to get a copy of this message | ||
Note Submitter: nmuecke at students.ballarat.edu.au
Reason: useless
----
Need some help:
As i see it the are two ways that info in an object could be used from one page to the next.
One is to pass the value via the url or a cookie.
eg:</font>
class someThing{
functions thing(){}
...
}
$obj = new thing();
echo "<a href="thisPage.php?ojbect=".$obj."">next</a>";
* this dose not work, my gues is that it need to passed by reference.
The second way, i think, is to store the object on the server and just pass the reference to
it's location.
Any Ideas?