I have my own ADODB object kept in a global var $conn
inside the snippet I can use it, however in any of the classes that I in the snippet it’s not accessible.
All other global vars work fine. It’s just this one that craps out.
Ideas anyone.?
example
global $conn ;
$conn->execute($mySql) ; //works fine
$myObj->do_something() ; // inside do_something can't access $conn at all ( I add "global" keyword and all, and nothing)