OiO.lk Blog PHP How to create a table on button click in Yii2
PHP

How to create a table on button click in Yii2


I need to create a new table instance by clicking on the button.Each new created table has its own unique name .As far as I understand I need firstly to get action function in controller then bind it to button.
But how could I manipulate new created table if only table not its model is created?

I tried to create new table with createCommand function. But no idea how to manipulate its model.



You need to sign in to view this answers

Exit mobile version