Rookie $_POST Question - 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: Rookie $_POST Question (/showthread.php?tid=10485) |
Rookie $_POST Question - El Forum - 08-01-2008 [eluser]codelearn[/eluser] Hey guys, I have a form field that is filled dynamically by the database, like so: Code: <?php foreach($listing_q->result() as $sublist): ?> Somehow, in the controller method it posts to, I need to loop through all of the sub_<?=$sublist->id; ?>. I'm not sure how to loop through all $_POST variables (if thats even possible). Any help would be much appreciated. Rookie $_POST Question - El Forum - 08-01-2008 [eluser]Eric Cope[/eluser] While it may not be intelligent to do this; Code: foreach($_POST as $var) |