Welcome Guest, Not a member yet? Register   Sign In
$this->input->post() not working for me
#1

[eluser]RS71[/eluser]
Hello,

I am currently trying to use $this->input->post() in my controller but it doesn't seem to be working.

I currently have it so a select has a name of grau[] (an array).

In the controller, I try to do something like:

Code:
$data['grau_field'] = 'grau[]';

$data['education_count'] = count( $this->input->post($data['grau_field']) );

It doesn't seem to be showing the correct count, even though I can see that the POST values are there. (via the Profiler)

Could anybody please assist me?

Thanks in advance.


Messages In This Thread
$this->input->post() not working for me - by El Forum - 01-12-2009, 02:45 PM
$this->input->post() not working for me - by El Forum - 01-12-2009, 03:01 PM
$this->input->post() not working for me - by El Forum - 01-12-2009, 03:04 PM
$this->input->post() not working for me - by El Forum - 01-12-2009, 03:09 PM
$this->input->post() not working for me - by El Forum - 01-12-2009, 03:21 PM
$this->input->post() not working for me - by El Forum - 01-12-2009, 03:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB