jsteiner87
Programmer
I am working on a sports page for a high school and I have the schedules setup so they can archive old ones. The only problems is when I pass a URL parameter like the following:
somePHPpage.php?year=2004-2005
It will not give me the schedule 2004-2005 but when I use:
somePHPpage.php?year=2005
it will give me the 2005 schedule.
I have in the database a column for the year and when you enter in a data it get entered in as 2005 or 2004-2005. Is the hyphen causing this problem?
somePHPpage.php?year=2004-2005
It will not give me the schedule 2004-2005 but when I use:
somePHPpage.php?year=2005
it will give me the 2005 schedule.
I have in the database a column for the year and when you enter in a data it get entered in as 2005 or 2004-2005. Is the hyphen causing this problem?