Sunday, 28 November 2021

@1 - Tạo 1 bảng gồm 5 dòng, 7 cột

<?php

echo "<table width='400' border='1'>";

for($i=1;$i<=5;$i++)

{

echo "<tr>";

for($j=1;$j<=7;$j++)

echo "<td>2</td>";

echo "</tr>";

}

echo "</table>";

?>

0 comments:

Post a Comment