Thanks, Joseph Crawford
In my index.php bootstrap file I setup the database connection into a
variable $db. Now I need to access this in other controllers. This
seems like a dumb question to me but do I need to global $db; before I
can access it in the indexAction method of the controller or is it in
the global scope by default?
- [fw-general] Dumb Question Joseph Crawford
- RE: [fw-general] Dumb Question Fullarton, Daniel
- Re: [fw-general] Dumb Question Chris Tankersley
- Re: [fw-general] Dumb Question Jim Scherer
- RE: [fw-general] Dumb Question Kevin Hallmark
- Re: [fw-general] Dumb Question David Mintz
- Re: [fw-general] Dumb Question Pádraic Brady
- RE: [fw-general] Dumb Question Robert Castley
