Connecting to Database and Active Records

0
545
views

Update views/site/userForm.php, to add class “alert alert-danger”.

Update config/db.php, to update db connection

Create Users.php in models/

Create UsersController.php in controllers/

Create index.php in views/users/

Reference :
https://github.com/redzjovi/yii2tutorial/commit/d65ee547958cb15be9dca3d661fc605729b823cd

LEAVE A REPLY

Please enter your name here
Please enter your comment!