Model::update() is dangerous |
(11-15-2022, 11:02 PM)InsiteFX Wrote: Your passing the body into the database just using required so it will pass as long as something is in it. Okay, I added max and min length validation rules. https://github.com/kenjis/ci4-model-upda...hp#L16-L19 PHP Code: private array $rules = [ |
Welcome Guest, Not a member yet? Register Sign In |