Can someone please give me an answer?
$rule =[
'name'=>'require',
'password'=>'require'
'verify'=>'require|captcha',
]
is this array, and then through browser verification, it should appear that name cannot be empty and password It cannot be empty, verify cannot be empty, etc., but I can only have one, that is, name cannot be empty. When I remove name and verify, the page can prompt that password cannot be empty. From this point of view, it seems that only The first one in the array is called, the others are not. Can anyone help me? I've been stuck for a long time
Eric2018-12-28 16:02:07
Further question: I feel like there should be no problem according to what is written in the tutorial, but I can’t get through it no matter what. Help