Hey!
I have several obj. in my app. and each of them needs a connection to mySql.
exe:
$admin = new UserAdmin();
$cleaner = new DbCleaner();
//
$admin->checkUser($_REQUEST['uid']);
$cleaner->cleanDb();
will it slow down the app. mutch when they both(or more) opens and close a connection.
Should i do like this(reference)
cleanDb(&$aConnection) {
....... }
I hope for help
gammaster