我需要用 PHP 代码创建字母 T:这是我目前所拥有的,但似乎无法弄清楚如何在前两行加上星号以扩展 T 的顶部:
<?php
echo "<pre>";
for ($row > 2; $row < 15; $row++) {
for ($column = 2; $column < 12; $column++) {
if (($row < 2 || $row < 2) || ($column < 2 || $column >= 6)) {
echo "*";
}
else echo " ";
}
echo "\n";
}
echo "</pre>";
?>