Answer the question
In order to leave comments, you need to log in
How to transfer data correctly?
I have actionNew($id, $name) in my controller. I want to make an ajax request to it, as I understand it, it takes parameters, so this is a get request, but only Post is allowed in behaviors.
How to make a request? And how in general in Yii in the controller to access the passed data in the request?
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