I'm new to web programming and recently started getting into PHP. I wrote a little code to produce a "right angle triangle". I recognize that using   is part of the solution but I've placed it in every possible place with no luck so any advice would be appreciated..Below you will find the coding/current output/desired output:
$x = 10;
while ( $x >= 1 ) {
$y=1;
while ($y <= $x) {
echo "*";
++$y;
}
echo "<br/>";
--$x;
}
output:
**********
*********
********
*******
******
*****
****
***
**
*
desire output:
**********
*********
********
*******
******
*****
****
***
**
*