Back

How can connect two controllers for one view?


i want to display data from two controllers in one view? is possible? please answer me. thanks.

bzctoons replied 5 months ago

Hello It's a non-sense because controllers are aimed to handle user input, get data from models and produce a view So you have to create one controller which get data from 2 models

https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller


Sign in to participate in this thread!



We'd like to thank these amazing companies for supporting us