Answer the question
In order to leave comments, you need to log in
How to add an authorized user to a global variable?
Hello. I want to implement api on the server and settled on one problem:
How to make the user id entered into a global variable and then the api makes a selection from the database of this user. If possible through:
protected $cat;
public function __construct() {
}
private function sendTest(){
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question