LearnCodeWeb
  • HTML
  • PHP
  • SQL
  • Front end Scripts
    • JavaScript
    • JQuery
    • React JS
    • Vue JS
    • TypeScript
  • Development
    • Web Development
    • Laravel
    • Bootstrap
    • WordPress
    • Snippets
    • PhoneGap

Related Linkes

Questions For Loop

ALL Most Most
For Loop

All Loops with example and version in PHP

  • do while loop
  • For Loop
  • Foreach Loop
  • Loop
  • PHP
  • web development
  • While Loop
  • 3 years ago
  • Zaid Bin Khalid
  • 4978 Views
  • 6
Learn More →
What is For Loop ?

In computer science, a for-loop (or simply for loop) is a control flow statement for specifying iteration, which allows code to be executed repeatedly. Various keywords are used to specify this statement: descendants of ALGOL use “for”, while descendants of Fortran use “do”. There are other possibilities, for example, COBOL which uses “PERFORM VARYING”.

A for-loop has two parts: a header specifying the iteration, and a body which is executed once per iteration. The header often declares an explicit loop counter or loop variable, which allows the body to know which iteration is being executed. For-loops are typically used when the number of iterations is known before entering the loop. For-loops can be thought of as shorthands for while-loops which increment and test a loop variable. Wikipedia

Subscribe to our newsletter

Name

Email





Advertisement

Search

Quick Access

  • Home
  • Privacy Policy
  • About Us
  • Contact Us

Follow us

You can find us on social media.

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Questions

AJAX API array Bootstrap Bootstrap 4 Create Table CSS Database Dropzone elseif/else if Fonts Foreach Loop For Loop Front End development HTML HTML5 JavaScript JQuery JQuery Plugin Laravel Laravel 8 Laravel 9 Lets Encrypt Loop MobileApp MySql MySqli PDO PhoneGap PHP PhpSpreadsheet print React JS Snippet Sorting SQL SQL Constraints SSL switch Truncate typescript Vue Js web development While Loop WordPress
Copy © All Rights Reserved. 2023