Welcome Guest, Not a member yet? Register   Sign In
Different Database
#4

[eluser]Randy Casburn[/eluser]
Your member varible is scoped incorrectly. $this->tdb will provide you the object you seek.

When you only refer to $tdb, you're only in the function's scope. You need to refer to the class' scope with the $this keyword.

Randy


Messages In This Thread
Different Database - by El Forum - 11-22-2008, 04:42 PM
Different Database - by El Forum - 11-23-2008, 12:14 AM
Different Database - by El Forum - 11-23-2008, 05:33 AM
Different Database - by El Forum - 11-23-2008, 08:45 AM
Different Database - by El Forum - 11-23-2008, 08:58 AM
Different Database - by El Forum - 11-23-2008, 09:30 AM
Different Database - by El Forum - 11-23-2008, 10:04 AM
Different Database - by El Forum - 11-23-2008, 11:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB