How to Print Div in PHP using For Loop

How to Print Div in PHP using For Loop

In this article, you will learn How to Print Div in PHP using For Looping. <html> <head> <title>div’s</title> <style> .ak{ heigth:150px; width:50px; border:1px solid; } </style> </head> <body> <form method=”POST”>

How to Use For Loop Statement in PHP

How to Use For Loop Statement in PHP

In this article, you will learn How to Use For Loop Statement in PHP. Syntax: for(initialization;condition;increment) { code to be executed } Example:- <?php for($i=0;$i<=10;$i++){echo “The Number is “.$i.”<br/>”; }