Welcome Guest, Not a member yet? Register   Sign In
[asking] Making Multidimensional array upload
#1

[eluser]fsw[/eluser]
I have a form like this:
Code:
<tbody>
    <tr>
        <td scope="col" class="title"><div class="data">Event Notification</div></td>
        <td rowspan="2" scope="col" class="title file">
        <div class="data">
            &lt;?php if (isset($error)) echo $error;?&gt;
            &lt;input type="file" name="userfile[]" size="20" class="multi" /&gt;
            <br />
        </div>
        </td>
    </tr>
    <tr>
        <td scope="col" class="title">
        <div class="data">
        Note
        <br/>
        <br/>
        <fieldset>
            <legend title="">
            &lt;textarea id="nature_of_loss" name="nature_of_loss" cols="25" rows="7" class="round-corner-4px"&gt;&lt;?php echo set_value('nature_of_loss'); ?&gt;&lt;/textarea&gt;&lt;/textarea>
            </legend>
        </legend>
    &lt;?php echo form_error('nature_of_loss'); ?&gt;
        </div>
        </td>
    </tr>
    <tr>
        <td scope="col" class="title"><div class="data">Fact Finding Survey</div></td>
        <td rowspan="2" scope="col" class="title file">
        <div class="data">
            &lt;?php if (isset($error)) echo $error;?&gt;
            &lt;input type="file" name="userfile[]" size="20" class="multi" /&gt;
            <br />
        </div>
        </td>
    </tr>
    <tr>
        <td scope="col" class="title">
        <div class="data">
        Note
        <br/>
        <br/>
        <fieldset>
            <legend title="">
            &lt;textarea id="nature_of_loss" name="nature_of_loss" cols="25" rows="7" class="round-corner-4px"&gt;&lt;?php echo set_value('nature_of_loss'); ?&gt;&lt;/textarea&gt;&lt;/textarea>
            </legend>
        </legend>
        &lt;?php echo form_error('nature_of_loss'); ?&gt;
        </div>
        </td>
    </tr>
</tbody>

I'm using http://www.mitesdesign.com/blog/open-sou...de-igniter for each of the file upload, so each one of them have multiple upload capabilities and there are 7 of them.

The question is how to make it upload multidimensonaly... thx before


Messages In This Thread
[asking] Making Multidimensional array upload - by El Forum - 12-15-2009, 10:56 PM
[asking] Making Multidimensional array upload - by El Forum - 12-16-2009, 09:55 AM
[asking] Making Multidimensional array upload - by El Forum - 12-16-2009, 08:13 PM
[asking] Making Multidimensional array upload - by El Forum - 12-16-2009, 10:28 PM
[asking] Making Multidimensional array upload - by El Forum - 12-17-2009, 02:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB