I am trying to learn php with the help of tutorials available on internet.
yesterday i was creating a program to print star (*) pyramids like:
a.
*
**
b.
**
*
c.
*
**
***
d.
***
**
*
I have succesfully printed the first two patterns (a and b) but not able to print the other two patterns (using for loop).
please help
thanks in advance