PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi Guys,
Just joined today. I'm taking a class this summer to finish my A.S in Database Management. Well lets get to the problem. My first hw assignment that I got yesterday is done. But I am having problem with one thing the Extra Credit. So here it is.
Its Beginning PHP. I am trying to come up with a code that would change the Background color to Black and Font color to White from 6 P.M. to 6 A.M. I know its a If Then statement but I cannot figure out what the time format and how would I tell the program that it is 6 P.M. I'm really confused right now. I google'd a lot but came up with the code to change Background on certain Days and not Time. Please help me with this.