4starlink

HTMLのフォームでhiddenに配列を持たせる

Formに配列を持たせるメモ。


<input type="hidden" name="hoge[hoge_key]" value="1" /> <input type="hidden" name="hoge[]" value="1" />

たったこれだけ。

http://blog.livedoor.jp/hiroki0907/archives/51503692.html

を参考にさせていただきました。
私も知りませんでした、ありがとうございます!