Pengate,
Forgive me, the current set up i have is an application.php file included on every page. At the moment this file looks like so...
So are you saying I only need to set these objects up once?PHP Code://Start Session
session_start;
$class_directory = "classes/";
//Load the classes we will be using
require_once($class_directory . 'company.php');
require_once($class_directory . 'database.php');
//Set up objects
$db = new Database();
$company = new Company();
Sorry for my limited knowledge :-/




Reply With Quote