我在Codeigniter 3中遇到了set_rules函数的问题
我检查用户邮箱:
$this->form_validation->set_rules('email', 'Email', 'required|trim|xss_clean|valid_email');
Run Code Online (Sandbox Code Playgroud)
当我发布时收到此错误:
无法访问与您的字段名称电子邮件对应的错误消息.
为什么悬停时.a的背景颜色不会改变?.B?
CSS
.a {
color: red;
}
.b {
color: orange;
}
.b:hover .a {
background-color: blue;
}
Run Code Online (Sandbox Code Playgroud)
HTML
<div id="wrap">
<div class="a">AAAA
<div class ="b">BBBB</div>
</div>
</div>
Run Code Online (Sandbox Code Playgroud)