Re: [PHP-DB] DB Class pointer as var in another class

2002-03-14 Thread Gary Cornelisse
I'll have to re-think extending the class with our database class. In the past they may not have worked well. Admittedly, our classes were written poorly. But, now that we're massively redesigning, that may work very well. Thanks for getting my brain-juices flowing again. Gary "Gurhan Ozen"

RE: [PHP-DB] DB Class pointer as var in another class

2002-03-14 Thread Gurhan Ozen
Hi Gary, I didn't understand what you were actually trying to do here.. You stated that "Our goal here is to minimize the number of database connections per function call." but seems like you are connecting to the database in the constructor? So each instance will automatically connect to the DB??