I'm a .NET developer and have a lot of practice and preference working with classes, properties and methods.
Can this same principal apply to PHP?
If so how do I carry a object over multiple pages?
NZ_Kiwis wrote:If so how do I carry a object over multiple pages?
Serialise it and store it in persistent storage, e.g., a database or a session (which may be backed by a database). Or, perhaps it would be better to store the data that the object represents into a database, extracting it when needed.