Sunday, April 2, 2017

How to use for loop in PHP

Loop tutorials for PHP (PHP For Loop)


 Loop tutorials for PHP (PHP For Loop)
  
This loop is a little more complicated, however, While the work is in the loop for loop, but this is due to some facilities....
1.for (init; condition; increment)2. {3.code to be executed;4.}for loop statement brackets inside the 3 expression was also semicolon divided by the .1 May the assignment statement (loop control variable), the first Loop repeating earlier once the execution is the 2 nd the Boolean expression that occurs each time repeating the earlier once the value of the nirnita (evaluate) is If true, this would be repeating the false return, and will be closed 3 rd, then repeating the increase or decrease the value of the loop control variable example used by hayanicera Loop has begun and it will continue for as long as I i = 1 with a value of less than or equal to 5 I increase the value by 1.



 <? PHPfor ($ i = 1; $ i <= 5; $ i ++) {echo "The number is". $ I. "<br />";}?>


OutputThe number is 1The number is 2The number is 3The number is 4The number is 5Empty of any expression or expression may contain more than one, separated by commas.  Boolean expression that is empty, then the default value of all output 1-10 example of this would be true.Another loop is used to array the name of the foreach loop, so it'll come back later.



To watch click this video....

How to install JDK

Java Development Kit

Topics about a lot easier. The new Java and Java who want to start their own text.Eclipse IDE is a powerful Integrated development environment. See here to learn about the IDE. Feature IDE from the Eclipse and has made many. This multi-language IDE. Eclipse is a Java program can be run and how the show I am. Eclipse or Java programs to run on any other IDE or Editor you will have to install the JDK.