Hi,
Can someone help me by showing me how to pass an object, such as a class, from a PHP web page to another PHP web page?
I had used $_POST $_GET and $_SESSION[xyz] for string values, but for an object?
Any idea?
Jeff
How do I pass an object from PHP Page to PHP Page?
Moderator: General Moderators
Re: How do I pass an object from PHP Page to PHP Page?
You could try to serialize it.
Re: How do I pass an object from PHP Page to PHP Page?
I just used $_SESSION[xyz] to store and retrieve it and it works.
Just wonder if there is any other way other than serializing it?
Jeff
Just wonder if there is any other way other than serializing it?
Jeff