N
N
Nertyk2019-03-10 23:43:04
Yii
Nertyk, 2019-03-10 23:43:04

Need to display SQL query in GridView?

Hello. It is necessary to display data in the GridView format based on an SQL query, since it is necessary that when the database is changed, changes also occur in the table on the site. Tell me how to do it

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vlad Nevlad, 2019-03-11
@vladnevlad

you can also wrap the GridView in pjax

M
Maxim Timofeev, 2019-03-11
@webinar

It is necessary to display data in GridView format based on SQL query

that's how it usually is
this is how it usually is.
Perhaps you need to refresh the page with gridView from time to time - but this is no longer about yii and mysql at all. It's just js.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question