a global config variable that can be read from everywhere
I have procedural code mixed with object oriented code
Computes my hours and shows emails so I can present to client
so I want to work on code at the same time to make more re-usable
but there are many limitations
I have two separate table names for two companies, because I do not want to mix data.
So I would different php file for each company.
So I have to find and replace the tablename.
Maybe a config variable would be easier.
How to have a config variable that can be in object oriented classes and procedural functions.
I know that globals are bad but my old code is so disorganized.
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.