Answers for "how to use echo in while loop but only print statement one time in php"

PHP
7

while loop php

<?php
	$a = 0;
	while($a<=5){
    	echo $a."<br>";
      $a++;
    }
  ?>
Posted by: Guest on December-28-2019
2

while true php

while(true) {
 // Infinite Loop
}
Posted by: Guest on August-10-2020

Code answers related to "how to use echo in while loop but only print statement one time in php"

Browse Popular Code Answers by Language