M
M
Maxim2016-05-26 14:03:57
Yii
Maxim, 2016-05-26 14:03:57

Editing values ​​from the database on the site?

The page displays records that are in the database, how to implement so that there is an edit button next to each record, when I click on it, I change this field and then it is saved to the database?
Should I do it through the form for each field separately or use GridView?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Александр Аксентьев, 2016-05-26
@Sanasol

Запустить gii и получить готовый CRUD?

Дмитрий Ким, 2016-05-27
@kimono

Можно сгенерировать через простой CRUD, а можно поковырять, и сделать через CRUD + PJAX + Form in Modal. Во втором случае не нужно будет перегружать страницу, что очень удобно.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question