Validation rules - how thinkphp5.0 validator validates data against the database
PHPz
PHPz 2017-05-16 13:04:32
0
1
400

< /p>

The document uses regular expressions. I want to check in the database whether this user can operate.
How to verify this? 
PHPz
PHPz

学习是最好的投资!

reply all(1)
我想大声告诉你

The custom validation rules section in the official documentation has been described very clearly.
If you need to check whether the user can operate in multiple places, it is recommended to use permission authentication (RBAC or OAuth).

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template