Thread: Doh!
View Single Post
Old 04-16-2009, 10:33 PM   #5 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

The $connect variable is only available within the __construct. The simplest workaround would be to use $this->connect wherever you have just $connect right now.
Salathe is offline  
Reply With Quote
The Following User Says Thank You to Salathe For This Useful Post:
Sam Granger (04-16-2009)