1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

PHP: Make It Rain & Let It Snow: Query Weather with PHP

  1. Clicks today:
    0
  2. Clicks this month:
    3
  3. Overall rating:
    5.00/5

PHP » Basics — over 4 years ago
In this tutorial, we’re going to find an XML feed from weather.gov and pull the current conditions from it. Then, we’ll use a PHP switch to determine which background-image div to show. We’ll further that by using another PHP switch in a CSS file to determine the intensity of that weather condition (That’s right, PHP inside CSS- the way a badass works).

Comments

Your Comment

You must be logged in to post a comment.