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
Mucky Tundra (5h) : Mahomes Magic baby! *cough*
TheKanataThrilla (5h) : KC the luckiest team in the league
Zero2Cool (9h) : Frigging host issues for site again
beast (9h) : For the first time in their long history, the Bears fire their head coach mid-season. Which comes after three very close in-division losses.
Zero2Cool (29-Nov) : At the game now. Kampman and Cullen Jenkins are here.
buckeyepackfan (29-Nov) : Happy Thanksgiving Packer Fans! Gonna celebrate with some grilled Dolphin later!
buckeyepackfan (29-Nov) : Inactive 23 CB Jaire Alexander 56 LB Edgerrin Cooper 62 OL Jacob Monk 87 WR Romeo Doubs
dhazer (29-Nov) : Just a talking point, do we try and trade Jaire next year to get out from the contract as he can't stay healthy
Zero2Cool (28-Nov) : Happy Thanksgiving! About to head to game.
wpr (28-Nov) : Happy Thanksgiving
Martha Careful (28-Nov) : Happy Thanksgiving Everybody...Go Packers!!!
Zero2Cool (28-Nov) : That is what a lot of people seem to think. Even though when he was on Giants, he was trash.
Martha Careful (27-Nov) : Brilliant move by Vikings!!! The signing provide great leverage in Darnold negotiations
Mucky Tundra (27-Nov) : Boo!
Zero2Cool (27-Nov) : Packers have ruled out Jaire Alexander, Edgerrin Cooper, and Romeo Doubs for Thursday's game against the Dolphins.
Zero2Cool (27-Nov) : Daniel Jones joins Vikings
Zero2Cool (27-Nov) : Tomorrow high 32° and low 19°
beast (27-Nov) : Thanks Mucky!
Mucky Tundra (27-Nov) : beast, forecast is looking like 27-28 degrees at kickoff, slight chance of snow flurries
Zero2Cool (27-Nov) : Oh? It wasn't on the injury report. That sucks, but it's what is best.
packerfanoutwest (26-Nov) : Doubs is out due to concussion
beast (26-Nov) : What does the weather look like?
Martha Careful (26-Nov) : You can wear long-johns mittens and a hat. We want Hill and their other skill guys FROZEN
Zero2Cool (26-Nov) : I'm not sure I hope for that. I'll be at the game.
Martha Careful (25-Nov) : I hope it is colder than a well-diggers ass on Thanksgiving night.
Zero2Cool (25-Nov) : doubt he wants to face the speedsters
beast (25-Nov) : Dolphins offense can be explosive... I wonder if we'll have Alexander back
Zero2Cool (25-Nov) : No Doubs could be issue Thursday
Mucky Tundra (25-Nov) : Bears. Santos. Blocked FG
Zero2Cool (24-Nov) : Bears. Vikings. OT
Mucky Tundra (24-Nov) : Thems the breaks I guess
Mucky Tundra (24-Nov) : Two players out and Williams had an injury designation this week but Oladapo is a healthy scratch
Zero2Cool (24-Nov) : Packers inactives vs 49ers: • CB Jaire Alexander • S Kitan Oladapo • LB Edgerrin Cooper • OL Jacob Monk
TheKanataThrilla (24-Nov) : Aaron Jones with a costly red zone fumble
Zero2Cool (24-Nov) : When we trade Malik for a 1st rounder, we'll need a new QB2.
packerfanoutwest (23-Nov) : Report: Aaron Rodgers wants to play in 2025, but not for the Jets
beast (23-Nov) : That's what I told the Police officer about my speed when he pulled me over
packerfanoutwest (23-Nov) : NFL told Bears that Packers’ blocked field goal was legal
packerfanoutwest (22-Nov) : 49ers are underdogs at Packers, ending streak of 36 straight games as favorites
Zero2Cool (22-Nov) : 49ers might be down their QB, DL, TE and LT?
packerfanoutwest (22-Nov) : Jaire Alexander says he has a torn PCL
Zero2Cool (20-Nov) : Even with the context it's ... what?
Mucky Tundra (20-Nov) : Matt LaFleur without context: “I don’t wanna pat you on the butt and you poop in my hand.”
beast (20-Nov) : We brought in a former Packers OL coach to help evaluate OL as a scout
beast (20-Nov) : Jets have been pretty good at picking DL
Zero2Cool (20-Nov) : He landed good players thanks to high draft slot. He isn't good.
Zero2Cool (20-Nov) : He can shove his knowledge up his ass. He knows nothing.
beast (20-Nov) : More knowledge, just like bring in the Jets head coach
Zero2Cool (19-Nov) : What? Why? Huh?
beast (19-Nov) : I wonder if the Packers might to try to bring Douglas in through Milt Hendrickson/Ravens connections
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 @ 12:00 PM
Vikings
Saturday, Jan 4 @ 11:00 PM
BEARS
Recent Topics
16m / Green Bay Packers Talk / beast

23m / Green Bay Packers Talk / beast

38m / Green Bay Packers Talk / beast

2h / Green Bay Packers Talk / Mucky Tundra

3h / Green Bay Packers Talk / wpr

9h / Green Bay Packers Talk / Mucky Tundra

16h / Green Bay Packers Talk / wpr

27-Nov / Green Bay Packers Talk / beast

26-Nov / Featured Content / Martha Careful

26-Nov / Green Bay Packers Talk / Mucky Tundra

25-Nov / Green Bay Packers Talk / Zero2Cool

25-Nov / Green Bay Packers Talk / buckeyepackfan

24-Nov / Green Bay Packers Talk / buckeyepackfan

24-Nov / GameDay Threads / Zero2Cool

23-Nov / Green Bay Packers Talk / dfosterf

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