I stuck here
i wanna sum total from checked checkbox value, and i use array
$check=$_POST[check];
$hit=count($check);
for($h=0;$h<=$hit-1;$h++) {
echo $check[$h];
//output without array : 1,2,3
//i wanna create array ex : $array = array('1', '2', '3');
//and sum total with echo array_sum($array);
//and total is 6
}
how to generate or create array from my loop ?