if i have this class:
class Cart
{
var $items;
function add_item ($total, $sessionID)
{
$this->items[$total] =$sessionID;
}
}
How do I access he add_item function in the class??
and I have this link:
print"<td><a href=\"sessions.php?section=add_items&total=$total
&sessionID=$sessionID\">add to cart</a></td>";