+ 1
do you know why blank space doesn't print in PHP?
i try to print it but its not work
2 ответов
+ 1
Post your code.
+ 1
<?php
for($i=1; $i<=9; ++$i)
{
$k=0;
for($space=1; $space<=9-$i; ++$space)
{
echo " ";
}
while($k != 2*$i-1)
{
echo "* ";
++$k;
}
echo"<br/>";
}
?>