Code Explantation

  1. Each link uses animal.php page
  2. Animal.php contains code to display suitable data about the animal
  3. The URL passes the GET variable myAnimal= a string value
  4. The animal.php page will check if the value exists and if so display information
  5. If the animal name is unknown then it will display an error message