Welcome Guest, Not a member yet? Register   Sign In
$this->input->post() data and "undefined index"
#6

[eluser]CroNiX[/eluser]
The problem is probably in your search_lib::process_array_input().

$this->input->post('subject') will be an array of all the checked "subject" checkbox values.

So, it will look something like:
Code:
array(
  0 => 'Aging',
  1 => 'Agriculture and Food',
  2 => 'Women'
)
If only the first 2 and very last checkboxes were checked.


Messages In This Thread
$this->input->post() data and "undefined index" - by El Forum - 06-07-2012, 08:00 AM
$this->input->post() data and "undefined index" - by El Forum - 06-07-2012, 09:46 AM
$this->input->post() data and "undefined index" - by El Forum - 06-07-2012, 10:01 AM
$this->input->post() data and "undefined index" - by El Forum - 06-07-2012, 10:04 AM
$this->input->post() data and "undefined index" - by El Forum - 06-07-2012, 10:13 AM
$this->input->post() data and "undefined index" - by El Forum - 06-07-2012, 10:20 AM
$this->input->post() data and "undefined index" - by El Forum - 06-07-2012, 10:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB