Welcome Guest, Not a member yet? Register   Sign In
How to add HTML into database?
#1

[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) ?
#2

[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




Theme © iAndrew 2016 - Forum software by © MyBB