Hello i have have a table in php that counts to 100 but i have to make it that only the numbers that can be divided by 3 or 5 are shown in the table
Here is my code:
<?php
echo "<table border='1'>";
for ($y=0 ; $y<10 ; $y++) {
echo "<tr>";
for ($x=1 ; $x <=10; $x++) {
echo "<td>".($y*10 + $x)."</td>";
}
echo "</tr>";
}
echo "</table>"
?>