34k+
News
Guide
API
Wiki
Forum
Community
Places
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Extensions
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
Release Cycle
License
Team
Official Logos and Design
Login
Yii v2 snippet guide
Comparing
#14
with
#15
Revision #15 was created by
rackycz
on Sep 19, 2019, 9:03:22 PM.
db
« Previous (#14)
Next (#16) »
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 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 ...
Access rights
---
[...]