Create a form using records of database


(viniciussilva-s) #1

Hi,

I’m new programming in YII and I started with the version 2.0.
My project is to create a form using records of database, not fields, but I’m having a problem on doing it.

Please, find below the picture:

a

My code model is:

Would you please help me?


(Giannisdag) #2

please read first the guide, https://www.yiiframework.com/doc/guide/2.0/en/start-databases, and try to create a form view with model etc using the gii, this will help you to understand how to create a form and save the data to the record