Welcome Guest, Not a member yet? Register   Sign In
How hard can it be?
#6

[eluser]ray73864[/eluser]
with php and html you can pass things as arrays, for instance:
Code:
Name 1: <input type="text" name="firstname[]" />
Name 2: <input type="text" name="firstname[]" />
etc...

you should be able to do a similar thing with the 'file' type, and then in your code you would do something like:
Code:
$firstname_array = $this->input->post('firstname');

foreach ($firstname_array as $firstname)
{
  echo $firstname . "<br />";
}


Messages In This Thread
How hard can it be? - by El Forum - 12-28-2008, 02:34 PM
How hard can it be? - by El Forum - 12-28-2008, 03:01 PM
How hard can it be? - by El Forum - 12-28-2008, 04:09 PM
How hard can it be? - by El Forum - 12-28-2008, 10:54 PM
How hard can it be? - by El Forum - 12-29-2008, 12:05 AM
How hard can it be? - by El Forum - 12-29-2008, 01:13 AM
How hard can it be? - by El Forum - 12-29-2008, 07:40 AM
How hard can it be? - by El Forum - 12-29-2008, 08:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB