Skip to content
Advertisement

PHP class functions [closed]

I have problem with functions. I call getclass function with this.

JavaScript

But its not working for me. This is not working [$teacherfullname,$teacherpicture] = $this->getteacher($teacher); But when i put this top and change $teacher to $uuid its good. But i need there $teacher.

JavaScript

Help me to find the bug please.

Advertisement

Answer

Edit : misreading from the OP, sorry.

Try to replace

JavaScript

With :

JavaScript

Don’t assign variables like this.

JavaScript

I suggest you to do something like this :

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement