mercredi 26 avril 2017

is it possible to use single view for multiple methods and controllers with different data?

I need to use single view multiple time with different methods as well controllers all methods are sending different data and on submit it effect to different table of database.

suppose i have two methods, method1 and method2

method1 has data like {123,456,789} and go to view with this data and on submit, need to make changes in table1 of my database.

method2 has data like{321,654,987} and go to view with this data and on submit, need to make changes in table2 of my database.

i don't have any idea about to reuse the view with different data, if it is possible then please help me.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2pkt4o6
via IFTTT

Aucun commentaire:

Enregistrer un commentaire