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"> <h1 name="first"><?php for($i=0;$i<=5;$i++) { echo '<div class="ak">' .$i . '</div>'.'<br>' …
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"> <h1 name="first"><?php for($i=0;$i<=5;$i++) { echo '<div class="ak">' .$i . '</div>'.'<br>'
In this article, we will explain the Looping statement in PHP. The looping statement is used for a specific number of times with the condition.Following Looping Statements are used in PHPFor LoopWhile LoopDo While LoopForeach…
In this article, we will explain the Looping statement in PHP. The looping statement is used for a specific number of times with the condition.
Following Looping Statements are used in PHP