Ok, What i was really wondering is say i made a mysql class. To initiate that class i write a line such as $DB = new mysql(); Thats all fine and dandy however i was wondering if there was a way of checking if that had been initated.
What im trying to get at is i want to have a whole bunch of classes and i need to know if they had been started and if not run that line for the ones that hadn't.
If anyone could help me if this post makes any sense then i would be most grateful.






Bookmarks