bezierstek
Programmer
Hi all,
I want to pass a load of text fields to php in an array.
I thought that if I used
I want to pass a load of text fields to php in an array.
I thought that if I used
PHP:
<input name="bullet[]" type="text" size="60" />
</label>
</p>
<p>
<input name="bullet[]" type="text" size="60" />
</p>
<p>
<input name="bullet[]" type="text" size="60" />
</p>
<p>
<input name="bullet[]" type="text" size="60" />
</p>
<p>
<input name="bullet[]" type="text" size="60" />
</p>
<p>
<input name="bullet[]" type="text" size="60" />
</p>
<p>
<input name="bullet[]" type="text" size="60" />
</p>
<p>
<input name="bullet[]" type="text" size="60" />
</p>
<p>
<input name="bullet[]" type="text" size="60" />
</p>
<p>
<input name="bullet[]" type="text" size="60" />
[/code]
and cycled through the array in php this would be fine, but I don't get any values.
I also tried giving each an array reference (ie bullet[0] - bullet[9]), but that didn't work either.
Is there a way to do it?