How do I use an abstraction layer in a class if the layer is not really extended by the other class, or am I missing the poiint?
I have created a MySQL abstraction layer and am wanting to use this in my cart class but am not sure how to.
<?
require '../content/MySQL/mysqlClass.php';
class cartClass
{
var $tran;
var $item;
var $db;
function cartClass()
{
$db = new mysqlClass();
$this->db->insertTransaction();
}}
Sorry if I'm not explaining well.
Thanx in advance
Rob