echo "$j multiplied by $i is equal to: $j*$i and then change the line";
/*I just learned PHP and my head is confused. Previous line I'm still confused about the writing format, but that's what I think. The calculation result of the nine-nine multiplication table is: $J*$i, but you need an expression format when you multiply a number by a number. I think you know it!
* Thanks to Teacher Gecko from 51 Self-study Network. I am currently watching a forum case video from Teacher Ouyang Feng on the PHP Chinese website. I have gone through the basic process and learned about the forum database. Let’s make progress together! }
Well, I can only give you an idea. I don’t know if the syntax format is correct or not. I just learned programming. I have seen JAVA doing multiplication tables elsewhere, which is the application of two FOR loops.
function jiubiao(){
for($i=1,$i<=9,$i++){
for($j=1,$j<=$i ,$j++){
echo "$j multiplied by $i is equal to: $j*$i and then change the line";
/*I just learned PHP and my head is confused. Previous line I'm still confused about the writing format, but that's what I think. The calculation result of the nine-nine multiplication table is: $J*$i, but you need an expression format when you multiply a number by a number. I think you know it!
* Thanks to Teacher Gecko from 51 Self-study Network. I am currently watching a forum case video from Teacher Ouyang Feng on the PHP Chinese website. I have gone through the basic process and learned about the forum database. Let’s make progress together! }
* */
}
}
}
Well, I can only give you an idea. I don’t know if the syntax format is correct or not. I just learned programming. I have seen JAVA doing multiplication tables elsewhere, which is the application of two FOR loops.
I don’t understand what this means. . .