assign array to checkbox

well lets say I do have a multidimensional array of the sort shown below..
Now I do need to pass on the arrays using checkboxes..!! how do I assign single row to each checkbox so that when I onclick it posts the value to the function on the top...

if(isset($_REQUEST['submit']))//---- form is submitted -----
{
$tab = $_REQUEST['tab'];
var_dump($tab);
for($i=0;$i<count($tab);$i++)
{
//--- here you are having all values checked by user. you can explode it by :: for further use. you can call your required function here.
$extent = explode("::",$tab);
var_dump($extent);
echo '<br>'.$tab[$i]." is checked.";
}
}