Multiple input arrays[] |
[eluser]JamieBarton[/eluser]
Hey, I'm struggling to get my head around doing the following: http://grab.by/49In I get that the inputs will have to have array[] names, but how do I go about processing this in PHP. To look through each row? Each row will be added into the database as an award. Any help/guidance will be greatly appreciated
[eluser]umefarooq[/eluser]
here is the solution first get all variables from post Code: $array = $this->input->get_post('array'); hope this will help you to solve you problem.
[eluser]JamieBarton[/eluser]
The HTML is : http://grab.by/4arN You'll see with each row I need to insert this into the DB, so I'll just put that in a loop, however, it's how do I get all 4 things to just be only 1 row. Doing the foreach on the $_POST is getting everything I post, I want to be able to group-so-to-speak the inputs by row. Thanks for the continuing support |
Welcome Guest, Not a member yet? Register Sign In |