I want to return data from my database table and display it in html table.
After executing this
Model::find()->all()
what should I do next ? I can’t use yii2 widgets or dataprovider.
I want to return data from my database table and display it in html table.
After executing this
Model::find()->all()
what should I do next ? I can’t use yii2 widgets or dataprovider.
Use what you already know about plain HTML and PHP. Simply iterate over the result and display tabular data with HTML tags and PHP echo.