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
beast (19h) : But the Return from IR designations had to be applied by the 53 man cutdown.
beast (19h) : It's a new rule, so it's not clear, but my understanding was that they could be IR'd at any time
Mucky Tundra (8-Aug) : *had to be IRed at 53
Mucky Tundra (8-Aug) : beast, I thought the designate return from IR players had to be IR at cutdowns to 53, not before
beast (8-Aug) : It's a brand new rule, either last season or this season, prior, all pre-season IRs were done for the season
beast (8-Aug) : But the Packers would have to use one for their return from IR spots on him, when they cut down to 53.
beast (8-Aug) : I think the NFL recently changed the IR rules, so maybe the season might not be over for OL Glover.
Zero2Cool (8-Aug) : Packers star Howton, first NFLPA prez, dies at 95 😔
dfosterf (8-Aug) : Apparently it is too complicated for several to follow your simple instructions, but I digress
dfosterf (8-Aug) : Zero- Did you see what I posted about Voice of Reason and his wife? She posted over at fleaflicker that they are both "In"
Zero2Cool (7-Aug) : Well, not crazy, it makes sense. Crazy I didn't notice/find it earlier
Zero2Cool (7-Aug) : it's crazy how one stored procedure to get data bogged everything down for speed here
dfosterf (7-Aug) : to herd cats or goldfish without a bowl. They reminded me of the annual assembly of our fantasy league
dfosterf (7-Aug) : out on a field trip, outfitting them with little yellow smocks. Most of the little folk were well behaved, but several were like trying
dfosterf (7-Aug) : Yesterday my wife and I spent the afternoon on the waterfront here in Alexandria, Va. A daycare company took about 15 three/four year olds
wpr (7-Aug) : seems faster. yay
dfosterf (7-Aug) : Wife of reason posted on the in/out thread on fleaflicker that both she and vor are in
Zero2Cool (7-Aug) : This page was generated in 0.135 seconds.
Mucky Tundra (7-Aug) : Tbh, I can never tell the difference in speed unless it's completely shitting the bed
Zero2Cool (7-Aug) : Sure does feel like site is more snappy
Zero2Cool (6-Aug) : I thought that was the Lions OL
Mucky Tundra (6-Aug) : Travis Glover placed on IR; seasons over for him
Zero2Cool (6-Aug) : found bad sql in database, maybe site faster now?
dfosterf (5-Aug) : I'm going to call that a good move.
Zero2Cool (4-Aug) : Packers sign CB Corey Ballentine
Zero2Cool (4-Aug) : I'm not sure how to kill the draft order just yet so it's not so confusing.
Mucky Tundra (4-Aug) : *to be able
Mucky Tundra (4-Aug) : and because it's not a dynasty league (which makes a lot more sense to be ability to trade picks)
Mucky Tundra (4-Aug) : Oh I know; I was just exploring and it blew my mind that you could trade picks because of the whole reordering thing
Mucky Tundra (4-Aug) : Zero, I think I preferred my offer: your 1st for my 15th rounder
Zero2Cool (4-Aug) : Keep in mind, we do a draft reorder once all members locked in
Zero2Cool (4-Aug) : You can have my 12th Rd for your 2nd round
Mucky Tundra (4-Aug) : Hey i didn't know we could trade picks in fantasy
Mucky Tundra (3-Aug) : Update: Rock has tried a cheese curd, promises it's not his last
Zero2Cool (3-Aug) : watch it!! lol
Mucky Tundra (3-Aug) : you're right, we never did leave, the site just went down :P
Mucky Tundra (3-Aug) : Rock claims to have never eaten a cheese curd
Zero2Cool (3-Aug) : We did not leave.
Mucky Tundra (3-Aug) : Family Night! WE ARE SO BACK!
Mucky Tundra (2-Aug) : To this day, I'm still miffed about his 4 TD game against Dallas on Thanksgiving going to waste
Martha Careful (2-Aug) : Congratulations Sterling Sharpe. He was terrific and I loved watching him play.
beast (2-Aug) : I believe it's technically against the CBA rules, but Jerry just calls it a simple unofficial chat... and somehow gets away with it.
beast (2-Aug) : Jerry Jones is infamous for ̶n̶e̶g̶o̶t̶i̶a̶t̶i̶n̶g̶ chatting with players one on one... and going around the agent.
Mucky Tundra (1-Aug) : Oo just saw a blurb saying that Dallas negotiated directly with Parsons and not through his agent
Mucky Tundra (1-Aug) : I assumed that both guys will get paid, just a matter of when or how we get there
Zero2Cool (1-Aug) : McLaurin nor Micah going anywhere. They will get money
Mucky Tundra (1-Aug) : the Synder years or do they take care of one of their own?
Mucky Tundra (1-Aug) : Do the Commanders risk losing a top WR with an emerging QB just because he's turning 30 and potentially risk damaging the rebuild from
Mucky Tundra (1-Aug) : Turns 30 this September, plays at a high level and Washington has some cap space I believe
Mucky Tundra (1-Aug) : More interesting is Washington with Terry McLaurin
Please sign in to use Fan Shout
2025 Packers Schedule
Sunday, Sep 7 @ 3:25 PM
LIONS
Thursday, Sep 11 @ 7:15 PM
COMMANDERS
Sunday, Sep 21 @ 12:00 PM
Browns
Sunday, Sep 28 @ 7:20 PM
Cowboys
Sunday, Oct 12 @ 3:25 PM
BENGALS
Sunday, Oct 19 @ 3:25 PM
Cardinals
Sunday, Oct 26 @ 7:20 PM
Steelers
Sunday, Nov 2 @ 12:00 PM
PANTHERS
Monday, Nov 10 @ 7:15 PM
EAGLES
Sunday, Nov 16 @ 12:00 PM
Giants
Sunday, Nov 23 @ 12:00 PM
VIKINGS
Thursday, Nov 27 @ 12:00 PM
Lions
Sunday, Dec 7 @ 12:00 PM
BEARS
Sunday, Dec 14 @ 3:25 PM
Broncos
Friday, Dec 19 @ 11:00 PM
Bears
Friday, Dec 26 @ 11:00 PM
RAVENS
Saturday, Jan 3 @ 11:00 PM
Vikings
Recent Topics
3h / Green Bay Packers Talk / Zero2Cool

8-Aug / Around The NFL / Zero2Cool

8-Aug / Fantasy Sports Talk / packerfanoutwest

8-Aug / Green Bay Packers Talk / beast

7-Aug / Green Bay Packers Talk / beast

5-Aug / Green Bay Packers Talk / beast

4-Aug / Green Bay Packers Talk / bboystyle

3-Aug / Green Bay Packers Talk / Mucky Tundra

3-Aug / Green Bay Packers Talk / beast

3-Aug / Feedback, Suggestions and Issues / Zero2Cool

2-Aug / Green Bay Packers Talk / Mucky Tundra

2-Aug / Green Bay Packers Talk / wpr

28-Jul / Random Babble / Zero2Cool

28-Jul / Green Bay Packers Talk / Mucky Tundra

28-Jul / Green Bay Packers Talk / Mucky Tundra

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