Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

for loop php increment by 2

 for ($i=1; $i <=10; $i+=2) 
{ 
    echo $i.'<br>';
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #loop #php #increment
ADD COMMENT
Topic
Name
8+3 =