Welcome Guest, Not a member yet? Register   Sign In
Is input->post meant to strip tabs?
#1

I have a textarea field that allows the user to insert tabs. I need to preserve those tabs as part of the processing of the textarea data, but I noticed they don't seem to make it through the call to
PHP Code:
$this->input->post('tabbed_content'); 
when testing it with
PHP Code:
substr_count() 
However, they are preserved as expected calling
PHP Code:
$_POST['tabbed_content']; 

I couldn't find anything in the docs about this behaviour. Is this expected from the post method of the input class?

Thanks.
Reply


Messages In This Thread
Is input->post meant to strip tabs? - by n2fole00 - 09-04-2017, 08:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB