Can I send an input array with what would happen like this:

Array ( [id] => 122216515 [value] => Array ( [0] => 29535 [1] => 3224795 ) ) 

    1 answer 1

    Can

     <form action=""> <input type="hidden" name="id" value="122216515"> <input type="hidden" name="value[]" value="29535"> <input type="hidden" name="value[]" value="3224795"> <input type="submit"> </form> 
    • Is it possible to do everything in one input? My input is outputted through a loop, made a type like <input type="checkbox" name="value[<?=$itemCatsSearch->GetId()?>][]" value="<?=$itemCatsValues->GetId()?>"> but this is not exactly what you need - mega94
    • Through one input you cannot do everything in a loop - Pavel