+ 1

do you know why blank space doesn't print in PHP?

i try to print it but its not work

16th Sep 2016, 10:52 AM
MD. WOALID HOSSAIN
MD. WOALID HOSSAIN - avatar
2 Respuestas
+ 1
Post your code.
16th Sep 2016, 11:35 AM
Zen
Zen - avatar
+ 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/>"; } ?>
16th Sep 2016, 4:39 PM
MD. WOALID HOSSAIN
MD. WOALID HOSSAIN - avatar