Yii v2 snippet guide

Comparing #15 with #16

Revision #16 was created by rackycz rackycz on Sep 20, 2019, 7:13:04 AM.

db

Content

[...]
INSERT INTO `user` (`id`, `username`, `password`) VALUES (NULL, 'user01', '0497fe4d674fe37194a6fcb08913e596ef6a307f');
```

If you must use MyISAM instead of InnoDB, just change the word InnoDB into MYISAM.

Then use GII to generate model
, views and controller. The URL will probably be
 
-
[http://localhost/basic/web/index.php?r=gii](http://localhost/basic/web/index.php?r=gii).

Login via database + Session
---
... text ...
[...]