Multiple entry update and delete form - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Multiple entry update and delete form (/showthread.php?tid=36320) Pages:
1
2
|
Multiple entry update and delete form - El Forum - 11-29-2010 [eluser]jpidgeon[/eluser] Yeah it's returning data on that: Quote:Array ( [0] => Donna McGrellis [1] => Liam Swift [2] => Mandy Ryan [3] => Margaret Freeman [4] => Stacey Miller ) Multiple entry update and delete form - El Forum - 11-29-2010 [eluser]Bart Mebane[/eluser] OK, we should be almost there. We'll just do this: Code: $team = array(); Multiple entry update and delete form - El Forum - 11-29-2010 [eluser]jpidgeon[/eluser] It still appears to be filling the fields with "0"s The fields still don't appear to be getting picked up when I check and submit a row(s) Code: function manage_team() giving this again: Quote:Array ( [team_name] => [owner1] => [owner2] => [owner3] => ) Multiple entry update and delete form - El Forum - 11-29-2010 [eluser]Bart Mebane[/eluser] Did you already try echoing $index inside the loop? Multiple entry update and delete form - El Forum - 11-29-2010 [eluser]jpidgeon[/eluser] Yeah it appears to be echoing that correctly. Both $id and $index are being passed fine Multiple entry update and delete form - El Forum - 11-29-2010 [eluser]Bart Mebane[/eluser] Running out of ideas, but somehow it's not getting the array element from the input->post. Lets' try this Code: function manage_team() Multiple entry update and delete form - El Forum - 11-29-2010 [eluser]jpidgeon[/eluser] That's done it! Thanks you so much for you're help Would have never figured that out by myself |