I have a problem, I have created a class that connects to the database and queries, I need to use this class in other classes, if I instantiate the clas withen the another class,however, I am locked into the database that I selected.
Should I pass the database class into the object?
Scope problems basically