I have done this stage as requirement with bellow code but i still haven't passed


#1

<html>
    <p>
    <?php
    // Create an array with several elements in it,
    // then sort it and print the joined elements to the screen

$the_array = array(1,9,3,6,7,2);
sort($the_array);
print join(",",$the_array);
rsort($the_array);
print join(",",$the_array);
    ?>
    </p>
    <p>
    <?php
    // Reverse sort your array and print the joined elements to the screen

    ?>
    </p>
</html>

#2

should be in the second paragraph element, as indicated.