This is the HTML:
do <
The indexes are connected automatically, since they're numeric arrays.
$nvals = count($_REQUEST['shortcut']); for ($i = 0; $i < $nvals; $i++) { // do something with $_REQUEST['shortcut'][$i] and $_REQUEST['ses'][$i] }