toi doing a multiplication table I already have it in for and in while but I do not get the do while I do not know much about that instruction, I do not know what my error is
this is with while
<?php
$t=8;
$i=8;
while($t<=10){
echo "<h3> Tabla del $t </h3>";
while($i<=12){
echo "$t x $i = ".($t*$i) . "<br/>";
$i++;
}
$i=8;
$t++;
}
?>
I did with do while but the program does not do anything
<?php
$t=8;
$i=8;
do{
echo "<h3> Tabla del $t </h3>";
echo "$t x $i = ".($t*$i) . "<br/>";
$i++;
$i=8;
$t++;
} while($t<=10);
while($i<=12);
?>