What's wrong with my variable?

LeviIZ

New Member
I can do a print_r of an employee object that I'm trying to pass into another method in another class and get the following:\[code\]emp Object ( [db:emp:private] => PDO Object ( ) [salesId:emp:private] => )\[/code\]When I attempt to pass this object, I get an undefined variable error message. What am I doing wrong? Is there a PHP function that I can use to test this somehow? This object works great anywhere else.
 
Back
Top