Example of for loop in php :


<html>
    <head>
        <title>Loops: for</title>
    </head>
    <body>
   
    <?php
       
        for ($count=0; $count <= 10; $count++) {
            echo $count . ", ";
        }
    ?>
    </body>
</html>

0 comments:

Post a Comment

Subscribe to RSS Feed Follow me on Twitter!