NEW
#21

Zero2Cool
Elite Member
Joined: Oct 14, 2006
Posts: 44,952

Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
"dhpackr"with in the class pages, you will put your functions to store and retrieve your data as well as the functionality to save pics and change the picks..
what do you think.
BTW do not get me started talkin about programming. i am an junkie. i just started 4 years ago. two years of school, got hired for a fullt time programming job before i even graduated. worked 14 months full time, then the next 5 months part time.
i have received no training, just been cut loose on live projects since day 1. i've coded in cold fusion, vb6, vb.net, classic asp, sql, javascript, css, html, mysql, php.
mainly doing various database driven forms and validation. no fancy graphics or code editors.
my week is over no more coding for this week, & i'm going fishing. chat next week.
I'll add more to this when I get home.
I had two years of college as well. Graduated, then a few months later, got a full time VB job.
I've done a lot of various coding, but nothing I'm proud or languages I care to admit to touching, publicly. :)
"pack93z"I thought we scrapped this project with the failed host move.. but the design that DH has listed looks pretty solid overall.. +1.
However maybe link the login credentials from here to the other app..
Appreciate the kindly reminder of lost money and time on the second failed host move. :)
Decided to stay with Linux and learn PHP code.
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#22

Zero2Cool
Elite Member
Joined: Oct 14, 2006
Posts: 44,952

Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
Okay, I'll be putting fours into this, today. starting, 8 minutes ago.
Providing nothing breaks down in the plant. :)
Providing nothing breaks down in the plant. :)
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#23

Zero2Cool
Elite Member
Joined: Oct 14, 2006
Posts: 44,952

Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
HOLY SHIZNIZZLEFRAPS!
I had some code that I had done awhile on this. By golly, I think I might be able to do this after all!
I had some code that I had done awhile on this. By golly, I think I might be able to do this after all!
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#24

Zero2Cool
Elite Member
Joined: Oct 14, 2006
Posts: 44,952

Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
I like VB, much more gooder. This coding via text editor > my ass. :)
Anyhow. I've got the form to send the picks to the database. But now I have to figure out an intelligent way to build the database.
Current method, not too bright. :)
http://forums.devnetwork.net/viewforum.php?f=1&sid=eaaee9c21328f62de11485ad60691e80
Anyhow. I've got the form to send the picks to the database. But now I have to figure out an intelligent way to build the database.
Current method, not too bright. :)
http://forums.devnetwork.net/viewforum.php?f=1&sid=eaaee9c21328f62de11485ad60691e80
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#25

Zero2Cool
Elite Member
Joined: Oct 14, 2006
Posts: 44,952

Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
"dhpackr"well, you are on the right track 4-sho.
1 database
4 tables
Log In table
Current Standings table
Weekly Winner
table
Each Week's Picks table
now, you'll need your login page
this will have a
template page
a class page
a login.php page
a db class page
a current standings page
this will have a
template page
a class page
a db class page
Weekly Winner
page
this will have a
template page
a class page
a db class page
Each Week's Picks page
this will have a
template page
a class page
a db class page
with in the class pages, you will put your functions to store and retrieve your data as well as the functionality to save pics and change the picks..
Oddly enough, I understand what you're saying, and if this was .NET I'd have it done already. However, I'm at a complete loss.
Also, about the login page. I'd like to use the require (login.php) and take the member name from there. That would elminate having to make a new login/password for everyone. Which is one of the reasons I'm wanting to do it on the site instead of Yahoo! or something. Is that possible?
Edit, also ... a page is needed to submit the winners.
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#26

dhpackr
Registered
Joined: Dec 12, 2007
Posts: 963

dhpackr
Registered
Joined:Dec 12, 2007
Posts:963
is ur login page working??
ru using PHP/MyAdmin to build ur database???
create your login table. you can import data from another database, an excel spread sheet or cvs file, and add, edit, delete using the PHP/MYSQL admin area.
so you should be able to just add another table via the PHP admin area to the database u already have called login. it would have fields called username, password etc.
the members name can be added to the table and then u would write a query to select the usersname & password.
have u connected to your database and displayed some data yet??
u said u got the forms to display in the database, now is that data being displayed on the page??
as far as submitting the winners. u would want to write a function to display the winners and put this code in the class file for what ever page you wish to display the winners on.
ru using PHP/MyAdmin to build ur database???
create your login table. you can import data from another database, an excel spread sheet or cvs file, and add, edit, delete using the PHP/MYSQL admin area.
so you should be able to just add another table via the PHP admin area to the database u already have called login. it would have fields called username, password etc.
the members name can be added to the table and then u would write a query to select the usersname & password.
have u connected to your database and displayed some data yet??
u said u got the forms to display in the database, now is that data being displayed on the page??
as far as submitting the winners. u would want to write a function to display the winners and put this code in the class file for what ever page you wish to display the winners on.
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#27

Zero2Cool
Elite Member
Joined: Oct 14, 2006
Posts: 44,952

Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
"dhpackr"is ur login page working??
I'm going to take the member name of the member and use that instead of having members create a new login.[/quote]
"dhpackr"ru using PHP/MyAdmin to build ur database???
I have one table for all of the picks right now. It's not going to be the fastest method, but I just want to get something done. (Table has fldMember, fldWeek, fldGame, fldSelection and fldWinner) So far, working out nicely.
"dhpackr"create your login table. you can import data from another database, an excel spread sheet or cvs file, and add, edit, delete using the PHP/MYSQL admin area.
I think I might be able to get around doing the whole login.php thing.
"dhpackr"so you should be able to just add another table via the PHP admin area to the database u already have called login. it would have fields called username, password etc.
the members name can be added to the table and then u would write a query to select the usersname & password.
I think using the member name from the member already logged into PH might be the easiest solution instead of having everyone use another login to remember.
"dhpackr"have u connected to your database and displayed some data yet??
Yes sir. I've read, write, updated and displayed data on the PHP page from the MySQL database.
"dhpackr"u said u got the forms to display in the database, now is that data being displayed on the page??
I don't have any forms displaying IN the database. I have the page posted on the original post displaying a form. The form table layout is hardcoded.
"dhpackr"as far as submitting the winners. u would want to write a function to display the winners and put this code in the class file for what ever page you wish to display the winners on.
I was considering making a admin page, secured via password and entering the winners in there.
I've kind of laid off on this because I just don't have the time to dedicate to it. I made some good progress and if I had a couple days to do dedicate to it, I'd have it done. Wouldn't be anything pretty or to brag about, but would serve the purpose and work well.
The problem is with not knowing what I can do, it's slowing me down. I have to try several different things before finding one that works.
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#28

dhpackr
Registered
Joined: Dec 12, 2007
Posts: 963

dhpackr
Registered
Joined:Dec 12, 2007
Posts:963
if you ever need any help with forms or validation, let me know.
i do not do design work or photoshop, but if you want some one to hack out some code let me know.
i do not do design work or photoshop, but if you want some one to hack out some code let me know.
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#29

Zero2Cool
Elite Member
Joined: Oct 14, 2006
Posts: 44,952

Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
I will need your help buddy. I'm going to get something to eat. Beat my daughter up and then I'll be back.
http://packershome.com/index.php?name=NFL_Picks
<-- That's where I'm at right now.
I have several questions.
http://packershome.com/index.php?name=NFL_Picks
<-- That's where I'm at right now.
I have several questions.
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#30

dhpackr
Registered
Joined: Dec 12, 2007
Posts: 963

dhpackr
Registered
Joined:Dec 12, 2007
Posts:963
OK, i took a quick look. i guess you would want some validation to make sure all the picks are made.
FYI- i am a little cross eyed right now. I was fishing all day, from 6 a.m to about 6 p.m.
right now i feel like i am still bobbing up and down in a boat.
i think after the picks are made you want to have the user click submit and store their selection in your database table, and also have the click send the user to a confirmation page that displays their picks.
passing values from one form to another takes some solid PHP programming.
i got a little to much sun today, so i need to take a break. Mon a.m. i can work with you if you want.
FYI- i am a little cross eyed right now. I was fishing all day, from 6 a.m to about 6 p.m.
right now i feel like i am still bobbing up and down in a boat.
i think after the picks are made you want to have the user click submit and store their selection in your database table, and also have the click send the user to a confirmation page that displays their picks.
passing values from one form to another takes some solid PHP programming.
i got a little to much sun today, so i need to take a break. Mon a.m. i can work with you if you want.
0
SlickVision, Methodikal, Kevin and 5 others