Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
1) The screenshot does not show what line 36 is.
2) I can guess that this is global $connect
a) you cannot declare global inside the class description. the maximum can be declared in the constructor.
b) never use global! Read about dependency injection and use it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question