PHP Zodiac Exercise

This application will allow you to see what your zodiac sign is based on your birthday range. I wanted to practice more with how forms worked in php so I created this small application to allow me to work more with forms. I also never used switch statements in php. I've done this a lot in JavaScript and C# but never in php. I have also used switch statements when creating mob programs on Chaos Mud and Dragon Swords. I used these when there were quest mobs that needed to respond to players of a certain race or class type in different ways. This project was quick and dirty. I wanted to work with these concepts while they were fresh in my mind. The next project I do like this I'm going to find out how to create a reserved space for the php results. I don't like that the whole page resizes according to the size of the output. I didn't want to do this in a fixed with way beacuse the site must be responsive. There is a way I am sure I just don't know it yet.

Hello visitor, type your name and choose a birth date range.

The zodiac is derived from the Greek word meaning circle of animals. The zodiac is believed to have been developed in ancient Egypt and was later adopted by the Babylonians. Early astrologers knew it took 12 lunar cycles for the sun to return to its original position. They identified 12 constellations that they observed were linked to the progression of the seasons. Astrologers named the luncar cycles after relevant animals and persons. In Babylonia, for example, the rainy season was found to occur when the Sun was in a particular constellation. Therefore, this constellation was named Aquarius, or water bearer.

© 2020 Dawn Summerall