Bring PHP outside variables to PHP class?

You are right , use global attribute only if there is no other “reasonable” way… mysqli is in my “to do list”, but at the end of it, it’s like “100” pages long. cheers!