php for

In php the basic structure of a for loop is for( expression1; condition; expression2)expression3; expression1 is executed once at the start. Here, you usually set the initial value of a counter The condition expression is tested before each iteration. If the expression returns false, iteration stops. Here, you usually test the counter against a limit … Read more