I make a database connection outside of my classes... lets call it
$myDBConnection. I need to use this connection in a class nested in a
class... Was wondering the most efficient way of doing this? I don't
want to create a new db connection in the class. I want to use the
existing one...
Chris W. Parker wrote:
I make a database connection outside of my classes... lets call it
$myDBConnection. I need to use this connection in a class nested in a
class... Was wondering the most efficient way of doing this? I don't
want to create a new db connection in the class. I want to use the
On 17 Mar 2004 Brent Westmoreland wrote:
I too have questions on how to handle this situation, any help would be
greatly appreciated.
[Situation was how to use a single database connection inside a class
nested within another class etc.]
If you have a single DB connection open for the
3 matches
Mail list logo