Welcome Guest, Not a member yet? Register   Sign In
help: unable to retrieve $item value
#7

[eluser]John Pantoja[/eluser]
I don't know CI enough on this matter, perhaps this is what the debug option is in the config(figured output was being buffered)?? I'm still thinking in non framework mode.

Basically what it seems is
Code:
$this->input->post('item')
is not being populated. Probably could try
Code:
if (!isset($this->input->post('item')) || $this->input->post('item') === "") { throw new Exception("Nothing here");} else {$item = $this->input->post('item');}

Or set item to 1 as I assume it's an index for a unique record. I have yet to read error handling and debugging so I'm not sure how else to get around this.


Messages In This Thread
help: unable to retrieve $item value - by El Forum - 01-21-2010, 09:41 PM
help: unable to retrieve $item value - by El Forum - 01-22-2010, 01:25 AM
help: unable to retrieve $item value - by El Forum - 01-22-2010, 01:32 AM
help: unable to retrieve $item value - by El Forum - 01-22-2010, 01:50 AM
help: unable to retrieve $item value - by El Forum - 01-22-2010, 02:15 AM
help: unable to retrieve $item value - by El Forum - 01-22-2010, 08:11 AM
help: unable to retrieve $item value - by El Forum - 01-22-2010, 05:25 PM
help: unable to retrieve $item value - by El Forum - 01-25-2010, 09:38 PM
help: unable to retrieve $item value - by El Forum - 02-02-2010, 12:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB