Posts by instalação planejamento • 39 points
3 posts
-
1
votes2
answers1254
viewsQ: require_once does not work
I’m trying to give require_once in a PHP file that has a class. The File I’m trying to include in PHP with the class has only one array with configuration data, but I can’t access it properly. class…
-
1
votes1
answer33
viewsQ: Class attribute in constructor
I can access a class attribute within the constructor scope, but outside gives 'Undefined' constructor(errorAlert){ this._errorAlert = errorAlert; } If, for example, in the code above, I give…
-
0
votes1
answer36
viewsQ: When calling controller in codeigniter, it always seems to be going through "Welcome"
I’m making a simple application in PHP with codeigniter, where I’m trying to access a controller, and apparently whenever I call this controller, it goes through Welcome, example:…