Help to make a conclusion numbers.
the function should draw the following result
1 2 3 4
2 4 6 8
3 6 9 12
And I can not so, how to fix it?
function foo3($a,$b){ for($i = 1; $i <= $a; $i++){ for($t = 1; $t <= $b; $t++){ } echo $i; echo $i * 2; echo $i * 3; echo '<br>'; } } foo3 (4,3)