+ 1
PHP in MVC
I'm writing a method to check if user is login in( islogin() ) but I'm confused if it should be in the model or controller
1 Odpowiedź
+ 6
If you know MVC well then you should not be confused. Controller is just use to send request and get response. So you need to write in model.