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 entire script why not 
use a global variable?  There are good reasons for not overusing global 
variables but sometimes there are good reasons to use them too.

--
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to