Codeigniter Strip HTML tags from input

Posted by Mithun on Stack Overflow See other posts from Stack Overflow or by Mithun
Published on 2010-04-01T11:57:09Z Indexed on 2010/04/01 12:03 UTC
Read the original article Hit count: 405

Filed under:
|

What is the best method to strip htnl tags from the input?

How can i remove the HTML tags while validating the input

$this->form_validation->set_rules('description', 'Description', 'trim|xss_clean');

Do I need to add custom call back method to validation rules?

© Stack Overflow or respective owner

Related posts about php

Related posts about codeigniter