This is a PHP code demonstrating coding using array variables, while loop, list, and each (deprecated) function to create the list on the form selector. I created a fallback function for "each" so it would continue to work on the latest version of PHP. Choosing a planet on the list will show the planet's description.