Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

I want to print this pattern with PHP using for loops:

I want to print this pattern with PHP using for loops:

1.png

I have this :

<?php

for($i=0;$i<=8;$i++){

for($j=8-$i;$j>=1;$j–){

echo $j;

}

echo “<div style=’text-align:right’>”;

}

?>

and it’s printing number’s upside down

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"