=0) { $test[$k]=intval($produkt_kol[$j] / $eda_nado[$i]); $k++;} } } } $min=$test[0]; for($i=0; $i