Not sure how to word my question but I am trying to create an array or photo captions that is being posted to my script.
my $q = CGI->new();
my $name = $q->param('name');
my @photoCaptions = $q->param('photos[]');
if I dump $q here is the part of where photos is
'photos[][caption]' => [ 'cap1', 'cap2', 'cap3', 'cap4', 'cap5' ]
but when I dump @photoCaptions, I get nothing.. why is that and how do I fix it?
photos[][caption]but you usephotos[]in your call toparam().