Switch17
08-03-2002, 04:12 AM
I'm hoping some of you PHP experts here can help me out with either a little sample script or possibly pointing me in the direction where I may find one. I’m pretty new to learning PHP, but making some progress, from wha I have learned via a book I picked up, “PHP For The World Wide Web” written by a Larry Ullman. I’m building a new site for my fantasy leagues, and here is what I’m basically trying to do.
Each week, all my fantasy reports generate files that begin with first their year, then their week such that a file with the beginning of 0201 would be the 02 season, week 01, then 0202, 0203, and so on for the corresponding weeks. I place my reports menus on the left running vertically with a weeks menu running horizontally across the page. What I want to do is let my users be capable of going back to prior weeks to see results. So that if someone wanted to go back to say week 3, that when they choose any specific report, it would choose the correct week 3 (ie: 0203) reports. I’m not quite sure how to do it, but I think I need to first create the weeks menu so that hopefully it would open up the website based on the current week by searching for the latest seasons file. Then I quess create something that will first look at the week your in, so that the menu will know to look for that weeks files.
I’m not sure how difficult something like this is, but I could use all the help I could get. The season’s approaching fast, and the book I have is a little overwhelming for me, plus I don’t see anything like that in here. The book mainly focused on creating a form, which I don’t believe will help me to much.
Thanks
Switch
Each week, all my fantasy reports generate files that begin with first their year, then their week such that a file with the beginning of 0201 would be the 02 season, week 01, then 0202, 0203, and so on for the corresponding weeks. I place my reports menus on the left running vertically with a weeks menu running horizontally across the page. What I want to do is let my users be capable of going back to prior weeks to see results. So that if someone wanted to go back to say week 3, that when they choose any specific report, it would choose the correct week 3 (ie: 0203) reports. I’m not quite sure how to do it, but I think I need to first create the weeks menu so that hopefully it would open up the website based on the current week by searching for the latest seasons file. Then I quess create something that will first look at the week your in, so that the menu will know to look for that weeks files.
I’m not sure how difficult something like this is, but I could use all the help I could get. The season’s approaching fast, and the book I have is a little overwhelming for me, plus I don’t see anything like that in here. The book mainly focused on creating a form, which I don’t believe will help me to much.
Thanks
Switch