djcubez
15 years ago

dj, would you be willing to help me with this project? You're PHP skills are far superior to mine. I'm only good editing existing code. I could figure it out on my own, but having a genius help me would speed things up for shizzle.

"Zero2Cool" wrote:


I'll see what I can do. Schools a bit heavy now but come this weekend I might be able to set aside some time.
Zero2Cool
15 years ago

dj, would you be willing to help me with this project? You're PHP skills are far superior to mine. I'm only good editing existing code. I could figure it out on my own, but having a genius help me would speed things up for shizzle.

"djcubez" wrote:


I'll see what I can do. Schools a bit heavy now but come this weekend I might be able to set aside some time.

"Zero2Cool" wrote:



Oh, you're in school. No worries, I don't want to take up any of your time. I know how it is with school, so no worries bud. 🙂 I'm sure I'll figure it out. You've given me a great starting point. Thanks.
UserPostedImage
Formo
15 years ago

I'm not sure this will help you understand, my comments might not be helpful if you're just learning.

Save this as "pickem.php":

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Poop</title>
</head>

-=snip snip=-

"djcubez" wrote:

UserPostedImage
UserPostedImage
Thanks to TheViking88 for the sig!!
Porforis
15 years ago
lol 4chan?
dhpackr
15 years ago
did u get ur form to work??
i work with php/mysql database driven forms A LOT.
check boxes,radio buttons, drop down lists all the time.
i do not think the code posted is correct.
keep in mind u may have to edit more than 1 file and 1 function.

is there a template file
a class file
and a db file
and a index file
so to get the data to post to the database, and display on the form u may have to edit more than 1 file and 1 function. also, do you want to edit the selection, and give the user the ability to change a selection.

PHP is like c or java. u may need to edit a class and the functions within that class.
So if you meet me Have some courtesy, Have some sympathy, and some taste
Use all your well-learned politesse, Or I'll lay your soul to waste
Zero2Cool
15 years ago
I haven't worked further on it. Kind of strapped for time.

My goal for this project is to link it with the website's database but only read the members column. Then upload the data to a separate database built specifically for this.

What you see above, is all I have thus far. I have an example of connecting to a db, reading, updating, importing, but storing the picks into variables TO be processed into the db is my flaw.
UserPostedImage
dhpackr
15 years ago
i will shoot you some code samples next week. say tues night.
i work programming during the week and had a long day today. I work on forms all the time, its all i do.

i have used vb.net and ektron, but really got started doing classic asp. i have been doing php forms since july 1. basically, adding drop downs, radio buttons, check boxes, text feilds and validation to a program that already exists.

like i said PHP is like java or c. you have to edit several files and several functions for the program to work properly.
So if you meet me Have some courtesy, Have some sympathy, and some taste
Use all your well-learned politesse, Or I'll lay your soul to waste
Zero2Cool
15 years ago
I've been programming professionally in VB.NET for two years. That's my strong spot, thus, me wanting to use ASP.NET 🙂

I did Java and C++ in college. I can 'do' it, if I have to, but not a fan of C++.

PHP and HTML I've been doing on/off for nearly a dozen years. I've built from the ground up with HTML, and with PHP I've only manipulated what I've seen to do as I want.

Just so you know the kind of dumb programmer you're working with here, lol.

Thinking more about this ...
This will all be with one database. I'll export the members from the website db, into the nfl picks db.
I'm siding with making this a module built into the website, not sure yet.
There will be several pages...
Log In
Current Standings
Weekly Winner
Each Week's Picks (with submit and finalize options) This means you can submit your picks, come back to them the day prior to the game, change them and hit 'finalize' to finalize your picks.

I think this is fairly simple to do, but don't have the time to get it all done. I was hoping to have it done this off season, but with ASP.NET. And after paying for two extra hosting packages and failing to meet my speed requirement for the forums, I've decided PHP is the best option as I know I can learn it, slowly but surely, lol.






Any help from you or dj is greatly appreciated or anyone else whom wants to help out.
UserPostedImage
dhpackr
15 years ago
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..

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.
So if you meet me Have some courtesy, Have some sympathy, and some taste
Use all your well-learned politesse, Or I'll lay your soul to waste
Pack93z
15 years ago
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..
"The oranges are dry; the apples are mealy; and the papayas... I don't know what's going on with the papayas!"
Fan Shout
Martha Careful (22h) : thank you Mucky for sticking up for me
Martha Careful (22h) : some of those people are smarter than you zero. However Pete Carroll is not
Mucky Tundra (24-Jan) : Rude!
beast (24-Jan) : Martha? 😋
Zero2Cool (24-Jan) : Raiders hired someone from the elderly home.
dfosterf (24-Jan) : I'm going with a combination of the two.
beast (24-Jan) : Either the Cowboys have no idea what they're doing, or they're targeting their former OC, currently the Eagles OC
Zero2Cool (23-Jan) : Fake news. Cowboys say no
Zero2Cool (23-Jan) : Mystery candidate in the Cowboys head coaching search believed to be Packers ST Coordinator Rich Bisaccia.
beast (23-Jan) : Also why do both NYC teams have absolutely horrible OL for over a decade?
beast (23-Jan) : I wonder why the Jets always hire defensive coaches to be head coach
Zero2Cool (22-Jan) : Still HC positions available out there. I wonder if Hafley pops up for one
Zero2Cool (22-Jan) : Trent Baalke is out as the Jaguars GM.
dfosterf (22-Jan) : Jeff Hafley would have been a better choice, fortunately they don't know that. Someone will figure that out next off season
Zero2Cool (22-Jan) : Aaron Glenn Planning To Take Jets HC Job
dfosterf (22-Jan) : Martha- C'est mon boulot! 😁
Zero2Cool (22-Jan) : Thank you
wpr (22-Jan) : Z, glad you are feeling better.
wpr (22-Jan) : My son and D-I-L work for UM. It's a way to pick on them.
Zero2Cool (22-Jan) : Thank you. I rarely get sick, and even more rarely sick to the point I can't work.
wpr (22-Jan) : Beast- back to yesterday, I CAN say OSU your have been Michigan IF the odds of making the playoffs were more urgent.
dfosterf (22-Jan) : Glad to hear you are feeling a bit better.
Zero2Cool (22-Jan) : I've been near death ill last several days, finally feel less dead and site issues.
Zero2Cool (22-Jan) : It is a big deal. This host is having issues. It's frustrating.
Martha Careful (22-Jan) : just kidding...it was down
Martha Careful (22-Jan) : you were blocked yesterday, due to a a recalcitrant demeanor yesterday in the penalty box for a recalcitrant demeanor
dfosterf (22-Jan) : Was that site shutdown on your end or mine? No big deal, just curious
beast (21-Jan) : That way teams like Indiana and SMU don't make the conference championships by simply avoiding all the other good teams in their own confere
beast (21-Jan) : Also, with these "Super Conferences" instead of a single conference champion, have 4 teams make a Conference playoffs.
beast (21-Jan) : Also in college football, is a bye week a good or bad thing?
Martha Careful (21-Jan) : The tournament format was fine. Seeding could use some work.
beast (21-Jan) : You can't assume Ohio State would of won the Michigan game...
beast (21-Jan) : Rankings were 1) Oregon 2) Georgia 3) Texas 4) Penn State 5) Notre Dame 6) Ohio State, none of the rest mattered
wpr (21-Jan) : Texas, ND and OSU would have been fighting for the final 2 slots.
wpr (21-Jan) : Oregon and Georgia were locks. Without the luxury of extra playoff berths, Ohios St would have been more focused on Michigan game.
wpr (21-Jan) : Zero, no. If there were only 4 teams Ohio State would have been one of them. Boise St and ASU would not have been selected.
Zero2Cool (21-Jan) : So that was 7 vs 8, that means in BCS they never would made it?
Martha Careful (21-Jan) : A great game. Give ND credit for coming back, although I am please with the outcome.
Mucky Tundra (21-Jan) : FG to make it academic
Mucky Tundra (21-Jan) : and there's the dagger
Mucky Tundra (21-Jan) : ooooo 8 point game with 4 minutes to go!
Mucky Tundra (21-Jan) : ooooooooohhhhhh he missed!
Mucky Tundra (21-Jan) : Ooooo that completion makes things VERY interesting
Mucky Tundra (21-Jan) : Game not over yet
beast (21-Jan) : Oh yeah, Georgia starting quarterback season ending elbow injury
beast (21-Jan) : Sadly something happened to Georgia... they should be playing in this game against Ohio State
beast (21-Jan) : I thought Ohio State and Texas were both better than Notre Dame & Penn State
Mucky Tundra (21-Jan) : Notre Lame getting rolled
Martha Careful (21-Jan) : Ohio State just got punched in the gut. Lets see how they respond
Mucky Tundra (21-Jan) : Notre Lame vs the Luckeyes, bleh
Please sign in to use Fan Shout
2024 Packers Schedule
Friday, Sep 6 @ 7:15 PM
Eagles
Sunday, Sep 15 @ 12:00 PM
COLTS
Sunday, Sep 22 @ 12:00 PM
Titans
Sunday, Sep 29 @ 12:00 PM
VIKINGS
Sunday, Oct 6 @ 3:25 PM
Rams
Sunday, Oct 13 @ 12:00 PM
CARDINALS
Sunday, Oct 20 @ 12:00 PM
TEXANS
Sunday, Oct 27 @ 12:00 PM
Jaguars
Sunday, Nov 3 @ 3:25 PM
LIONS
Sunday, Nov 17 @ 12:00 PM
Bears
Sunday, Nov 24 @ 3:25 PM
49ERS
Thursday, Nov 28 @ 7:20 PM
DOLPHINS
Thursday, Dec 5 @ 7:15 PM
Lions
Sunday, Dec 15 @ 7:20 PM
Seahawks
Monday, Dec 23 @ 7:15 PM
SAINTS
Sunday, Dec 29 @ 3:25 PM
Vikings
Sunday, Jan 5 @ 12:00 PM
BEARS
Sunday, Jan 12 @ 3:30 PM
Eagles
Recent Topics
25m / Green Bay Packers Talk / beast

12h / Green Bay Packers Talk / Martha Careful

22h / Random Babble / Martha Careful

21-Jan / Green Bay Packers Talk / Mucky Tundra

21-Jan / Green Bay Packers Talk / Mucky Tundra

20-Jan / Green Bay Packers Talk / Martha Careful

20-Jan / Green Bay Packers Talk / bboystyle

20-Jan / Green Bay Packers Talk / Zero2Cool

20-Jan / Green Bay Packers Talk / beast

19-Jan / Random Babble / Martha Careful

18-Jan / Green Bay Packers Talk / Zero2Cool

17-Jan / Green Bay Packers Talk / bboystyle

17-Jan / Green Bay Packers Talk / Zero2Cool

17-Jan / Green Bay Packers Talk / Martha Careful

16-Jan / Green Bay Packers Talk / beast

Headlines
Copyright © 2006 - 2025 PackersHome.com™. All Rights Reserved.