While loop step 3- your first while loop


i want this code to print 0123456789 . but its not working. what is the error in this code ?

//Add while loop below
$num = 0;
while ($num<=9){
echo $num;
$num ++;



It actualy is wroking, Maybe you need to refresh your page?
Tip: If you want the numbers to appear in seperate lines use this :
> echo $num ."< br>"; //(remove the space before the letters br