$status = 0;
$result = '';
$data = $request->param();
I watched the video from the beginning today and checked step by step. It turned out that there was a mistake here
$rule = [ 'username|username' => 'require', 'password|password' => 'require ', 'verify|Verification code' => 'require|captcha'];
The template I downloaded is here
<input id="" name="username" type="text" placeholder=" Account" class="input-text size-L">
The name attribute here is 'username', and the attribute value in the teacher's template is 'name'. After changing it, there will be no other problems
There are many problems with the courseware in this section
There is nothing in constructing the query conditions and it is still in a place where the verification code cannot be empty
The value of the username was not received. Can you dump the received post data?
This is the same problem
I watched the video from the beginning today and checked step by step. It turned out that there was a mistake here
$rule = [
'username|username' => 'require',
'password|password' => 'require ',
'verify|Verification code' => 'require|captcha'
];
The template I downloaded is here
<input id="" name="username" type="text" placeholder=" Account" class="input-text size-L">
The name attribute here is 'username', and the attribute value in the teacher's template is 'name'. After changing it, there will be no other problems
There are many problems with the courseware in this section
There is nothing in constructing the query conditions and it is still in a place where the verification code cannot be empty
The value of the username was not received. Can you dump the received post data?
This is the same problem