Menu

Need MCA Or B.tech College Project Contact Us: +91 9437911966 (Whatsapp) Students Tutorial


PHP while loops

Syntax

while (condition is true) {
code to be executed;
}

Example

<?php
$a=1;
while ($a<=10)
{
echo $a;
$a++;
}
?>