Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
echo "<table>";
for ($i = 1; $i <= 20;$i++) {
if ($i % 2 == 0) { echo "<tr> <td style='background-color: red;'>$i</td> ,/tr>"; }
else { echo "<tr> <td style='background-color: blue;'>$i</td> ,/tr>"; }
}
echo "</table>
съсfor ($i = 1; $i <= 20;$i++) {
(примерно).while ($row = mysql_fetch_array($sql)) {