Here is the code to print the division table in PHP. In this code, the main body of the code has one for loop nested inside another, with each loop executing ten times and resulting in a 10 X 10 table. In the loop, each iteration of the outer loop prints a row, whereas each inner iteration prints a cell.
Solution
Here is the code to print the division table in PHP. In this code, the main body of the code has one for loop nested inside another, with each loop executing ten times and resulting in a 10 X 10 table. In the loop, each iteration of the outer loop prints a row, whereas each inner iteration prints a cell.
Output of the above code