Chapter 3 Section 4
Eric
Eric 2018-12-28 15:23:51
0
2
843

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

Eric
Eric

reply all(1)
Eric

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

3.PNG

1.PNG

2.PNG


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