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.
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:



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.
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.
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
Zero2Cool (12h) : I'm guessing since the thumb was broken, he wasn't feeling it.
dfosterf (10-Apr) : Looking for guidance. Not feeling the thumb.
Mucky Tundra (10-Apr) : If they knew about it or not
Mucky Tundra (10-Apr) : I don't recall that he did which is why I asked.
Zero2Cool (10-Apr) : Guessing they probably knew. Did he have cast or something on?
Mucky Tundra (10-Apr) : Did they know that at the time or was that something the realized afterwards?
Zero2Cool (9-Apr) : Van Ness played most of season with broken thumb
wpr (9-Apr) : yay
Zero2Cool (9-Apr) : Mark Murphy says Steelers likely to protect Packers game. Meaning, no Ireland
Zero2Cool (8-Apr) : Struggling to figure out what text editor options are needed and which are 'nice to have'
Mucky Tundra (8-Apr) : *CHOMP CHOMP CHOMP*
Zero2Cool (2-Apr) : WR who said he'd break Xavier Worthy 40 time...and ran slower than you
Mucky Tundra (2-Apr) : Who?
Zero2Cool (2-Apr) : Texas’ WR Isaiah Bond is scheduled to visit the Bills, Browns, Chiefs, Falcons, Packers and Titans starting next week.
Zero2Cool (2-Apr) : Spotting ball isn't changing, only measuring distance is, Which wasn't the issue.
Zero2Cool (2-Apr) : The spotting of the ball IS the issue. Not the chain gang.
Mucky Tundra (2-Apr) : Will there be a tracker on the ball or something?
Zero2Cool (1-Apr) : uh oh
Martha Careful (1-Apr) : Too bad camera's can't spot the ball as well.
Mucky Tundra (1-Apr) : So will the chain gang be gone completely or will they still be around as a backup or whatever?
Zero2Cool (1-Apr) : The method for measuring first downs in the NFL will switch from chain gangs to camera-based technology in 2025, the league announced.
Martha Careful (1-Apr) : A big step in the right direction. Just put in the college system is very very good.
Zero2Cool (1-Apr) : NFL has passed a rule that allows both teams to possess the ball in OT during the regular season
Zero2Cool (1-Apr) : Touchbacks on kickoffs will now bring the ball to the 35-yard line.
beast (31-Mar) : It might of gotten more popular recently, but braiding hair (even men) in certain cultures goes back for centuries.
Martha Careful (30-Mar) : Is men braiding their hair a new style thing? Watching the NCAA men's tournament many players have done
Zero2Cool (29-Mar) : Ha. Well, it'd be nice for folks to reset their own password. Via validated email 😏
beast (29-Mar) : Monopoly was supposed to be an educational game, that show how evil capitalism was and how we should avoid it
beast (29-Mar) : Lol, I was thinking username would be better, as then I wouldn't have to keep an email up to date lol 😂
beast (29-Mar) : Zero2Cool (25-Mar) : I was thinking email because I think it'll make folks keep it up todate lol
wpr (29-Mar) : sure is
Zero2Cool (29-Mar) : Monopoly is a rip off of The Landlord's Game
wpr (27-Mar) : 28 days until the draft
earthquake (27-Mar) : Which seemed strange to my 9 year old self, that you could be a fan for a team other than the one you play for
earthquake (27-Mar) : Nothing eventful happened, other than it being clear that he was a bengals fan
earthquake (27-Mar) : And we went and hung out with him one afternoon, I must have been 9 or so
earthquake (27-Mar) : That’s wild, when I was a kid my friend lived in the same apartment complex in De Pere
Mucky Tundra (27-Mar) : Only career highspot was a 200 yard rushing game while playing for the Cardinals
Mucky Tundra (27-Mar) : He is a former Packer. Drafted out of Northern Illinois. Didn't do much in GB.
dfosterf (26-Mar) : Despicable
Zero2Cool (26-Mar) : Former NFL. I think Packers too
Zero2Cool (26-Mar) : NFL RB Leshon Johnson has been charged in a massive dog fighting operation, with the FBI seizing over 190 Pit Bulls
Mucky Tundra (26-Mar) : Some real irony of a QB as short as Wilson playing for the Giants
Mucky Tundra (26-Mar) : Giants country, let's be the tall beings of lore!
Mucky Tundra (26-Mar) : Russell Wilson signs with the Giants.
Zero2Cool (25-Mar) : I was thinking email because I think it'll make folks keep it up todate lol
wpr (25-Mar) : I don't think there is a significant difference. I use a user name for many. Others email.
Martha Careful (25-Mar) : email
Zero2Cool (25-Mar) : would it be better to use EMAIL or USERNAME to log into a site?
wpr (25-Mar) : Thanks Zero
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
39m / Green Bay Packers Talk / TheKanataThrilla

23h / Feedback, Suggestions and Issues / Zero2Cool

11-Apr / Feedback, Suggestions and Issues / Rockmolder

8-Apr / Green Bay Packers Talk / Zero2Cool

2-Apr / Green Bay Packers Talk / Zero2Cool

2-Apr / Green Bay Packers Talk / bboystyle

1-Apr / Green Bay Packers Talk / Mucky Tundra

1-Apr / Green Bay Packers Talk / wpr

31-Mar / Green Bay Packers Talk / Zero2Cool

30-Mar / Green Bay Packers Talk / Zero2Cool

29-Mar / Random Babble / wpr

28-Mar / Random Babble / Martha Careful

26-Mar / Random Babble / Mucky Tundra

25-Mar / Random Babble / Martha Careful

24-Mar / Random Babble / packerfanoutwest

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