How to add HTML into database? |
[eluser]Mareshal[/eluser]
I need to add html into database, but the problem is the "global_xss_filtering" because is true. So every post input will be filtered. is this an option: $this->input->post("var", FALSE) ?
[eluser]umefarooq[/eluser]
well i have already tried with one of my project and is working fine i used tinymce editor one solution is before saving your data just turn off the global_xss_filtering value as Code: $this->config->set_item('global_xss_filtering', 'FALSE'); for more detail check this url http://ellislab.com/codeigniter/user-gui...onfig.html |
Welcome Guest, Not a member yet? Register Sign In |