Welcome Guest, Not a member yet? Register   Sign In
validation->set_message strip the <p> tag
#1

[eluser]Roosevelt![/eluser]
Hello,
In CI Validation class when I use something like:

$this->validation->set_message($rules[$key], "<span style='color: red;'>*</span>");

The error message generates the code like:

Code:
<p><span style='color: red;'>*</span></p>

Is there any way I could strip the <p> tag?


Messages In This Thread
validation->set_message strip the <p> tag - by El Forum - 06-25-2008, 12:18 PM
validation->set_message strip the <p> tag - by El Forum - 06-25-2008, 02:08 PM
validation->set_message strip the <p> tag - by El Forum - 06-25-2008, 06:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB