Dont know what the problem is


#1

https://www.codecademy.com/en/courses/web-beginner-en-5YvPF/0/4?curriculum_id=5124ef4c78d510dd89003eb8#



Replace this line with your code.



A loop of your own



<?php
//Add while loop below
$g = 1;
while($g>0):

    echo "<p>anything </p>";
    $g--;
endwhile;
?>
</body>



#2

What error are you getting?


#3

It's not compiling
It's getting stuck


#4

What error is CodeCademy or the program giving you? The code is working for me.


#5

Codeacademy compiler is not able to compile.


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.