View Full Version : Stuck on php thing for school

06-01-2007, 08:32 PM
i'm have to do these php tasks for school and i'm stuck on one and am looking for someone to tell me how to do it

Write a program that asks for the day of the week. If the day entered is not a valid day it should print an appropriate message.
If the date is Saturday or Sunday it should say “I Love Weekends”. If the date is Monday it should say “I hate Mondays.”.
Otherwise it should just say Today is $day_of_week

06-01-2007, 08:35 PM

check the examples section, you should find what you're looking for

06-01-2007, 08:37 PM
We don't do homework ... look up PHP DATE on Google and learn about it.