PHP forums, MySQL forums, Web Development resources

Home PageHome    PHP ResourcesTopic List    FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups 
 RegisterRegister
    ProfileProfile    Log in to check your private messagesLog in to check your private messages    Download the RSS Reader RSS Feed Download the RSS Reader RSS for this forum Log inLog in 

PHP Forum :: MySQL Forum :: Java Script Forum



database project

 
Post new topic   Reply to topic    WeberForums.com Forum Index -> MySQL General
View previous topic :: View next topic  
Author Message
karljames



Joined: 08 Jul 2006
Posts: 8
Location: tampa

PostPosted: Sun Feb 10, 2008 5:24 am    Post subject: database project Reply with quote

Hello guys,

I am in need for some one on one help with a personal project.
Their is no profit or gain for me, just knowledge and usefullness for me and my close freinds for my fantasy football league.
What, I want to do is create a database, so I can store data and display on webpage. I also need team management. Trades, add/drops of players, and player profiles as well that will show stats and I can always add to it. I am using phpmyadmin and php for this.

My current website is listed here: http://www.theufl.com/index.php
My current wishlist is here: http://www.theufl.com/ufl_project.htm

Where I want to start is creating the relation databases.
I want to create a site similar to this:
http://www.webleaguemanager.com/demo/reports/FantasyStandingsRpt.html

I the only difference is, I would put each years worth of status for archive purposes. I want to do all of the database work and such.
Just need help on setting up the writing tables.

Would anyone be willing to be my mentor through the project?
I think we should start with the players table. but, I have some questions and would like to speak one on one through IM if possible. This is for a NFL fantasy football league.

Karl
_________________
Karl James
karljames@tampabay.rr.com
theufl.com
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
lostboy



Joined: 02 May 2004
Posts: 5128
Location: toronto, canada

PostPosted: Sun Feb 10, 2008 9:35 pm    Post subject: Reply with quote

http://www.developer.com/lang/php/article.php/3636686
_________________
Lostboy

Cat, the other other white meat

Please read Posting Etiquette before posting

You can always try Google
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
karljames



Joined: 08 Jul 2006
Posts: 8
Location: tampa

PostPosted: Mon Feb 11, 2008 3:01 am    Post subject: database project Reply with quote

lostboy,

I didn't mean to annoy you. I have just been trying to do this for a long time. I did look at your post and the links you provided. However, implementing that is a bit over zealous on my part. To much, out of my league. What, I really need; is to have some one baby step me on creating tables and what cols. I understand the langague and how to create tables.

Could you help me with that?

Karl
_________________
Karl James
karljames@tampabay.rr.com
theufl.com
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
lostboy



Joined: 02 May 2004
Posts: 5128
Location: toronto, canada

PostPosted: Mon Feb 11, 2008 3:50 am    Post subject: Reply with quote

I would start with 3 tables

teams
-------
team_id
team_name


players
--------
player_id
player_name
player_position
[other fields]

user_players
---------------
user_id
team_id
player_id

That should get you started
_________________
Lostboy

Cat, the other other white meat

Please read Posting Etiquette before posting

You can always try Google
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
karljames



Joined: 08 Jul 2006
Posts: 8
Location: tampa

PostPosted: Mon Feb 11, 2008 3:55 am    Post subject: database project Reply with quote

lostboy,

Thank you so much for replying.
I am greatfull, for sure. What if you I want the players table to be like the players database you see on espn.com and nfl.com. When you click the players tables, like so http://sports.espn.go.com/nfl/players/profile?playerId=1428

I will implement the tables you suggested however.
Do you understand what I want to do, all the way???
Not trying to insult you or anything. Just making sure, we are on the same wave length.

Thanks, please keep the info coming.
I really want to learn and advance.

Thanks again, Karl
_________________
Karl James
karljames@tampabay.rr.com
theufl.com
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
lostboy



Joined: 02 May 2004
Posts: 5128
Location: toronto, canada

PostPosted: Tue Feb 12, 2008 2:47 am    Post subject: Reply with quote

there are other fields you could add to the player table (describing each players personal stats) and other tables (describing game play) you can add to help you get to that level...i recommend starting small and learning about how it all ties together, then buil out from there
_________________
Lostboy

Cat, the other other white meat

Please read Posting Etiquette before posting

You can always try Google
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
Display posts from previous:   
WeberTrivia Questions WeberTrivia Questions
 Think you are smart? Prove it!. Try your skills with these questions :
 WeberTrivia QuestionsRecursive arrays and multi-dimensional arrays are one and the same. (PHP and MySQL)
 WeberTrivia QuestionsThe \"cache_dir\" tag of the squid configuration has a default of /var/spool/squid. (Linux)

WeberTrivia Questions



PHP Code Examples
 Stream diffrent sizes of images from a single image to save disk space.
 JavaScript dropdown list menu to switch any page.
 Dump the contents of a PHP variable in html format with a recursive list of subfolders and files from a given root directory.
 PHP Dump in html format the contents of one array variable with a recursive list of the nested array variables inside.
 Link Extractor - This function is used to extract links from a given URL. This will convert relative path into absolute path and also remove PHPSESSID stuff.
 Building a Dynamic Form using Javascript and innerHTML. Add form elements in realtime without refreshing the page.
 A PHP Calendar function with CSS : add a cool calendar to any php page by just adding a calendar class based function.
Post new topic   Reply to topic    WeberForums.com Forum Index -> MySQL General All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum






Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum