Php-List wrote:
> What is the proper way to transfer class properties through-out my pages...
>
> let's say i have a ShoppingCart Class and i have methods like
> addToCart(id, qty) and deleteFromCart(id)
> also i have properties like CartItems("id" => array(), "qty"=> array())
>
> this is what i
2002 4:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Classes and Sessions
What is the proper way to transfer class properties through-out my pages...
let's say i have a ShoppingCart Class and i have methods like
addToCart(id, qty) and deleteFromCart(id)
also i have properties like CartItems(&
What is the proper way to transfer class properties through-out my pages...
let's say i have a ShoppingCart Class and i have methods like
addToCart(id, qty) and deleteFromCart(id)
also i have properties like CartItems("id" => array(), "qty"=> array())
this is what i do...
//when the user enters
I am having some trouble with storing a class in a session variable.
According to the information in the manual, an object will be serialized
at the end of each request and then unserialized at the beginning
automatically. However, with this code:
For the first page I will get:
stringvar is
4 matches
Mail list logo