Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /homepages/33/d216193782/htdocs/sites/blog/wp-content/plugins/jetpack/_inc/lib/class.media-summary.php on line 77

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /homepages/33/d216193782/htdocs/sites/blog/wp-content/plugins/jetpack/_inc/lib/class.media-summary.php on line 87

Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/33/d216193782/htdocs/sites/blog/wp-includes/post-template.php on line 284
  • Contact Me
  • Archives
  • Categories
  • Week 9 – PHP Time Changing CSS

    2009 - 11.10

    For this assignment I create a website using PHP.  I used the “date” function to get the time from the web server. I then wrote a switch case statement that will change the CSS file based on what time of day it is.   I also included a manual override controls in javascript to show the different CSS styles, so that you don’t have to wait all day to see the different scenes.

    I am also using PHP to get the current year and current domain name and displaying them in the footer of the page. This website features a login page, a favorite website links page that get links from a MySQL database and displays those websites links.
    Click here to goto PHP Time Changing CSS website

    Comments are closed.