![]() |
|
|
#1 |
|
Senior Member
Join Date: Aug 2011
Posts: 110
|
while programming as kaman writes these are the basic and after that you must have the knowledge of the control structure how to use and where to use
like if condtion for loop while loop do while switch case and another loop in php is foreach loops have the major roll in controling the flow of program while loop replace \n with <br> if usingbrowser for output PHP Code:
out put is 1 12 123 1234 12345 just do nothing revers the loop PHP Code:
12345 1234 123 12 1 |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Aug 2011
Posts: 111
|
Like It...!
|
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Aug 2011
Posts: 103
|
thanks very useful
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|