CodeIgniter Forums
Help with database list - 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: Help with database list (/showthread.php?tid=26563)



Help with database list - El Forum - 01-17-2010

[eluser]farocco[/eluser]
Hello,

It has been awhile since I used CI.

I want to have a list of records on a page and next to each row, I want to have a qty field.

The user can enter a value in the qty field for several rows.

I want the user to press a button when finished and grab all the entries they entered in the controller.

I have this:
<input type="text" name=qty[] maxlength="3" size="2"> 
<?php echo $row->ProductCode; ?>

But do not know how to get the qty in the controller.

Maybe there is an eaiser way?

Thanks for the help.

Frank