using a while loop inside while php code example
Example 1: while loop php
<?php
$a = 0;
while($a<=5){
echo $a."<br>";
$a++;
}
?>
Example 2: while in php
<?php
echo 'nice';
?>
<?php
$a = 0;
while($a<=5){
echo $a."<br>";
$a++;
}
?>
<?php
echo 'nice';
?>