I'm new to PHP. But I'm very interested in learning it and have gone through many tutorials and have bought some books.
I've built a website that is dedicated to New York State Section 4 boys basketball. This section has 70 teams and 5 different conferences.
Right now each page of the site is static, all html.
I have a separate schedule page for each team and I try to enter the scores of each game into these schedules. With 70 teams, games every night of the week, it's becoming next to impossible to keep up. For example, when a game is over I have to open up team A's page and team B's page. I enter the varsity score on Team A's page a W or L if they lost or won and then the JV score, and a W or L.
Then I have to do the same to Team B's page. Very tedious.
From what I know of php, it seems as if I could do this, and this is why I'm posting, to hear from you wether this is possible or not. I don't want some to write it for me, I just wanna know if it's possible or if there is a better way to do what I want.
Here's what I see happening. I get a few volunteers from all the league's. I set them up as users that can log on to a certain web page. They enter the date, the teams (or that teams ID), the scores. When they submit that form the data is sent to a database. Now, there is php on the teams' schedules and scores page that automatically retrieves what is in the database and fills in the entries so I do nothing! The scores just pop in when someone views that schedules page.
Is this possible? Here's the stupid question... how difficult is this? and is there another system that would even be easier?
I also have a separate Game Scores page that I'd like to be filled up from the user's input. So data collected from them could be distributed to 3 different web pages automatically.
Thanks for any help, here is my website:
section4hoops.com.
Basketball league scores
Moderator: General Moderators
-
mickeyunderscore
- Forum Contributor
- Posts: 129
- Joined: Sat Jan 31, 2009 9:00 am
- Location: UK
Re: Basketball league scores
PHP is perfect for this kind of thing. Difficulty wise, it depends how long you have been studying PHP, have you ever built a PHP system that interacts with a database? Or have any prior programming knowledge?
Re: Basketball league scores
php is my first venture into programming. I have successfully connected to a database I made on my Dotster account. So I guess I'm just starting out.
Re: Basketball league scores
In the grand scheme of things, this is pretty straightforward & very do-able. The only suggestion I have is rather than a few volunteers, get the coaches to put in the scores. Whoever won has to put in the scores.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: Basketball league scores
Moved to PHP-Code.