djcubez
14 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
14 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
14 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
14 years ago
lol 4chan?
dhpackr
14 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
14 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
14 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
14 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
14 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
14 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!"
Users browsing this topic
    Fan Shout
    dfosterf (1h) : Maybe
    Mucky Tundra (1h) : Yes
    Zero2Cool (2h) : No.
    Mucky Tundra (4h) : End of a Degu-era
    dhazer (5h) : Steelers sign Patterson because of new kickoff rule interesting
    Zero2Cool (8h) : Former #Packers TE Josiah Deguara is signing a 1-year deal with the Jaguars, per source.
    Zero2Cool (9h) : They do not do it for "content sake".
    dfosterf (19h) : For the record, I enjoy Beast and Mucky drafts
    Zero2Cool (27-Mar) : Haha
    Mucky Tundra (27-Mar) : No time for talking! Back to work beast!
    beast (27-Mar) : You saw only 4,201 of my mocks? 🥺 I think that means you missed more than half of them 😢
    dfosterf (27-Mar) : Does anyone know what Lambeau field improvements got put on hold? My guess would be for the 2025 draft
    Zero2Cool (27-Mar) : It's like listen, you made 4,201 mocks, no shit.
    Zero2Cool (27-Mar) : Cuz during the draft "I had them mocked there!" as if it's amazing.
    Zero2Cool (27-Mar) : They're fun to do once in awhile. It's people who think they are "content" that annoy me.
    dfosterf (27-Mar) : Against tbd
    dfosterf (27-Mar) : Answer to your question is yes, it's a Thursday, will be the Chiefs aga
    dfosterf (27-Mar) : Luckily for all concerned, I don't post them. I did one, but that was like 25 mocks ago
    Zero2Cool (27-Mar) : NFL 2024 gonna start Sept 5th isn't it???
    Zero2Cool (27-Mar) : Ugh... kids these days!
    dfosterf (27-Mar) : I'm gonna go do some more mock draft hell instead 🤪
    Zero2Cool (27-Mar) : Did we do one of those prediction threads yet for 2024 season?
    dfosterf (27-Mar) : In my city, they are playing the nimby game, in order to keep some railroad tracks vs. 2 professional sports teams and a concert venue.
    dfosterf (27-Mar) : And/Or a city council, of which I haven't seen a good one in a very long time
    dfosterf (27-Mar) : That sounds like a Mayor, not a city.
    buckeyepackfan (26-Mar) : Packers halt scheduled 80mil upgrade of stadium until lease agreement talks are restarted
    Zero2Cool (26-Mar) : City of Green Bay puts Packers' Lambeau Field lease talks on hold
    buckeyepackfan (26-Mar) : Packers 1 of 3 teams to vote no on new kickoff rule.
    Zero2Cool (26-Mar) : Packers sign another Kicker
    dfosterf (26-Mar) : Lengthy explanation at PFF if you click the link
    dfosterf (26-Mar) : Kickoff rules officially changed.ngthy explan
    Zero2Cool (26-Mar) : lol
    Cheesey (26-Mar) : 2009? No thanks! One open heart surgery is enough!
    dfosterf (26-Mar) : Good for you!
    Zero2Cool (26-Mar) : Yes. That's the one.
    dfosterf (26-Mar) : Is that "Lady Dugan" per chance?
    dfosterf (26-Mar) : Crystal?
    dfosterf (26-Mar) : Please refresh my memory
    Zero2Cool (26-Mar) : Alan posts. Crystal back in my life. It's 2009 all over again! Lol
    Mucky Tundra (26-Mar) : BAH GAWD! THAT'S CHEESEYS MUSIC!
    Zero2Cool (25-Mar) : Gutekunst said early stages of Jordan Love contract being discussed.
    Zero2Cool (25-Mar) : Shouldn't be penalized cuz official screwed up
    Zero2Cool (25-Mar) : Yeah, challenge until you are incorrect twice.
    Zero2Cool (25-Mar) : Fining them is the goal, per the people who made the rule anyway.
    dfosterf (25-Mar) : Still waiting on the kickoff rule changes. Did hear yesterday that the touchback proposal will now be the 30 yard line, not the 35
    dfosterf (25-Mar) : Probably speed of game issues with your proposal
    dfosterf (25-Mar) : Hopefully the refs don't get in the habit of throwing flags on this
    beast (25-Mar) : I think when it comes to Challenges should get two strikes, so unlimited challenges as long as they keep winning them, but 2 wrong then done
    dfosterf (25-Mar) : Still subject to the fines etc
    dfosterf (25-Mar) : Yes, I should have been more specific. Also, they are now saying it would be a 15 yard penalty. That makes more sense .
    Please sign in to use Fan Shout
    2023 Packers Schedule
    Sunday, Sep 10 @ 3:25 PM
    Bears
    Sunday, Sep 17 @ 12:00 PM
    Falcons
    Sunday, Sep 24 @ 12:00 PM
    SAINTS
    Thursday, Sep 28 @ 7:15 PM
    LIONS
    Monday, Oct 9 @ 7:15 PM
    Raiders
    Sunday, Oct 22 @ 3:25 PM
    Broncos
    Sunday, Oct 29 @ 12:00 PM
    VIKINGS
    Sunday, Nov 5 @ 12:00 PM
    RAMS
    Sunday, Nov 12 @ 12:00 PM
    Steelers
    Sunday, Nov 19 @ 12:00 PM
    CHARGERS
    Thursday, Nov 23 @ 11:30 AM
    Lions
    Sunday, Dec 3 @ 7:20 PM
    CHIEFS
    Monday, Dec 11 @ 7:15 PM
    Giants
    Sunday, Dec 17 @ 12:00 PM
    BUCCANEERS
    Sunday, Dec 24 @ 12:00 PM
    Panthers
    Sunday, Dec 31 @ 7:20 PM
    Vikings
    Sunday, Jan 7 @ 3:25 PM
    BEARS
    Sunday, Jan 14 @ 3:30 PM
    Cowboys
    Saturday, Jan 20 @ 7:15 PM
    49ers
    Recent Topics
    1h / Green Bay Packers Talk / buckeyepackfan

    19h / Green Bay Packers Talk / dfosterf

    19h / Green Bay Packers Talk / bboystyle

    27-Mar / Green Bay Packers Talk / Mucky Tundra

    27-Mar / Random Babble / Zero2Cool

    27-Mar / Green Bay Packers Talk / beast

    26-Mar / Green Bay Packers Talk / beast

    26-Mar / Green Bay Packers Talk / beast

    26-Mar / Green Bay Packers Talk / bboystyle

    25-Mar / Green Bay Packers Talk / Zero2Cool

    25-Mar / Green Bay Packers Talk / Zero2Cool

    24-Mar / Around The NFL / dhazer

    24-Mar / Green Bay Packers Talk / beast

    24-Mar / Green Bay Packers Talk / beast

    22-Mar / Green Bay Packers Talk / beast

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