Welcome Guest, Not a member yet? Register   Sign In
Help with multiple select boxes
#1

[eluser]dobbler[/eluser]
I have a multiple select box that I'm trying to get the values of on form submission. All I'm getting is the last one.

I've tried:

for ($i=1; $i<=count($this->input->post('appbox2')); $i++) {
echo "ID: " . $this->input->post('appbox2') . "<br />";
}

Just to see what's being sent but it's only showing the last value in the box.

I'm sure this is simple but it's driving me nuts..

Thanks.


Messages In This Thread
Help with multiple select boxes - by El Forum - 08-24-2008, 05:03 PM
Help with multiple select boxes - by El Forum - 08-24-2008, 08:01 PM
Help with multiple select boxes - by El Forum - 08-24-2008, 08:07 PM
Help with multiple select boxes - by El Forum - 09-04-2008, 12:46 AM
Help with multiple select boxes - by El Forum - 09-04-2008, 01:57 AM
Help with multiple select boxes - by El Forum - 09-04-2008, 02:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB