I need PHP assistance please?

Michael Westen

New member
I am working on a sports blog for someone, and i would like to have a "upcoming games" section.
I know this is probably the hardest way to do it and if someone has an easier way, that would be great. But im trying to do "if, then" with php. I would like to have the next games be displayed on the date they are going to be played. I would like to enter the whole schedule and set it up so that when ever there is a game that day, it is automatically displayed.

This doesnt work, but i would like something to work like this.
If date = gameday; echo "game details"
if date = gameday; echo "game details"
if date = gameday; echo "game details"

I guess what im trying to do is multiple if statements ????

I would just pre enter all the details and have them displayed on gameday.

If someone knows of a more dynamic way of doing this, that would be greatly appreciated as well.

Thanks for taking the time.
 
Back
Top