<?php
$x=[10,15,50];
$y=[2,3,4];
$count=count($x);
for ($j = 0; $j <$count; $j++) {
$z[$j] = $x[$j] * $y[$j];
}
echo join(",", $x)."<br>";
echo join(",", $y)."<br>";
echo join(",", $z)."<br>";
//output
//10,15,50
//2,3,4
//20,45,200
?>
<?php
$x=10;
$y=2;
$z=$x*$y;
echo "result is",$z;
?>
<label for="190_mnth2"></label>
<div align="center">
<input name="190_mnth" type="text" id="190_mnth2" value="10" size="5" />
</div></td>
<td><div align="center">
<label for="190_rate"></label>
<input name="190_rate" type="text" id="190_rate" value="190.00" size="10" />
</div></td>
<td><div align="center">
<input name="total_190" type="text" id="total_190" value=<? echo '190_mnth2' * '190_rate' ?> size="10" />