Hello,
I was wondering if it is allowed to create a class inside another class.
It's actually the database class
or, do I have to create it outside and then pass it in threw the constructor?
but then I have created it without knowing if I would need it
example:
class some{
if(.....){
include SITE_ROOT . 'applicatie/' . 'db.class.php';
$db=new db
thanks, Richard