for ($i = 1, $j = 1; $i <= 9; $i++) {
if ($i > $j) {
$j++;
$i = 1;
echo ‘<hr>‘;
}
echo "$i*$j= ".$i*$j." ";
}
原文地址:https://www.cnblogs.com/lishudong/p/12181087.html
时间: 2024-10-10 05:07:29