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
    Zero2Cool (5h) : Chase Young to sign $13M contract with Saints
    Zero2Cool (5h) : Yosh to Panthers what noooo. Wait he didn't do crap
    wpr (18-Mar) : I say that he is technically HER BIL as he married her sister. I checked it out, he's considered my BIL as well. Sad.
    Mucky Tundra (18-Mar) : wpr, I assume its your BIL via marriage to your wife? If so, I can figure out where the smarts in the family went ;)
    wpr (18-Mar) : Mucky my B-I-L is Bare Stupid. I could write a book.
    Mucky Tundra (18-Mar) : As a teenager in Rockford IL I would get heckled by adults in public for wearing GB gear
    Mucky Tundra (18-Mar) : if you think the online ones are bad, try *living amongst* them
    Mucky Tundra (18-Mar) : Never doubt wprs loyalty. Poor guy is surrounded by Bears fans in Northern IL
    wpr (17-Mar) : pass Martha. Thanks for the invite though.
    Martha Careful (17-Mar) : blog * as the same ugly Illinois colors were adopted by the Baer
    Martha Careful (17-Mar) : WPR, perhaps you should be joining the Bears fans blog has the same ugly Illinois colors were adopted by the Bears
    Mucky Tundra (17-Mar) : Ah a fellow U of Illinois hater. I can respect that though I imagine it's for different reasons
    Zero2Cool (17-Mar) : BTW. I didn't catch the game. I just hate Illinois.
    Mucky Tundra (17-Mar) : They're your Big Ten Chumps and you will like it!
    Zero2Cool (17-Mar) : No, not for the record. Referee's handled that BS. Orange team was trash ass
    Mucky Tundra (17-Mar) : *Your* Big Ten Chumps for the record
    Zero2Cool (17-Mar) : No, not Big Ten Champs. IL is big ten CHUMPS
    wpr (17-Mar) : Big Ten Champs
    wpr (17-Mar) : !!!
    wpr (17-Mar) : INI
    wpr (17-Mar) : ILL
    Martha Careful (17-Mar) : Wisconsin with an outstanding on in the men’s Big Ten basketball tournament. Let’s hope it continues in the NCAAs
    Zero2Cool (17-Mar) : Almost like taking QB in 2020 even if you don't need one is good move.
    Mucky Tundra (16-Mar) : 2021 QB Draft class looking like a real clunker
    Mucky Tundra (16-Mar) : A conditional 6th rounder? I remember Bears fans arguing they'd get a day 2 pick at worst lol
    dfosterf (16-Mar) : So I got the no extension part right and the have to wait on the CW physical wrong
    Zero2Cool (16-Mar) : Bears are trading Justin Fields for a 2025 6th-round pick that goes to a 4th-round pick based on playtime, per sources.
    Zero2Cool (16-Mar) : Former Packer Jarrett Bush opens Wisconsin’s first blow dry bar in Green Bay
    dfosterf (16-Mar) : If the Bears are not doing a deal with Washington, they also cannot trade Fields until Williams physical with them. All hail Caleb Williams!
    dfosterf (16-Mar) : The talent is undeniable, but the (advertised) haul is obscene.
    dfosterf (16-Mar) : If the Bears are cutting a deal with the Commanders, in either scenario, cannot happen until williams passes a Commanders physical
    dfosterf (16-Mar) : My guess is no to the Fields extension, but yes to the trade back with the Commanders.
    dhazer (15-Mar) : I think the Bears do a Love extension and they will trade out of the 1st pick and take the haul
    Martha Careful (15-Mar) : that might make sense
    Zero2Cool (15-Mar) : Justin Fields to Steelers?
    Zero2Cool (15-Mar) : Kenny Pickett. Eagles. Done.
    Zero2Cool (15-Mar) : They can claim best two WR tandem.
    Mucky Tundra (15-Mar) : Aaron Donald retiring
    dhazer (15-Mar) : Campbell signing with 49ers
    dhazer (15-Mar) : I love how the Bear Fans are now claiming they have the best skill players in the NFC North lol
    Zero2Cool (15-Mar) : Vikings made a move to get a 2nd first round pick
    Mucky Tundra (15-Mar) : That's a not a bad deal for the Bears
    Zero2Cool (15-Mar) : Bears have traded for WR Keenan Allen sending Chargers a fourth rounder.
    Martha Careful (15-Mar) : *signs
    Martha Careful (14-Mar) : MLB Devon White science with the Eagles
    Mucky Tundra (14-Mar) : But that was before FA started
    Mucky Tundra (14-Mar) : Dhaze, I thought Kurls would be their #1 target when I read that he was an Amos comp (jack of all trades guy)
    dhazer (14-Mar) : I would like to see the Packers target 2 more FA still available Kamren Curl Safety and Chase Young edge
    Martha Careful (14-Mar) : wow...didn't see that coming
    Zero2Cool (14-Mar) : AJ Dillon re-signing with Packers.
    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 / beast

    10h / Green Bay Packers Talk / dfosterf

    11h / Green Bay Packers Talk / beast

    18-Mar / Around The NFL / Mucky Tundra

    16-Mar / Random Babble / Martha Careful

    16-Mar / Green Bay Packers Talk / TheKanataThrilla

    15-Mar / Green Bay Packers Talk / dhazer

    15-Mar / Green Bay Packers Talk / dfosterf

    14-Mar / Green Bay Packers Talk / beast

    14-Mar / Random Babble / Zero2Cool

    14-Mar / Green Bay Packers Talk / dfosterf

    13-Mar / Random Babble / Zero2Cool

    13-Mar / Green Bay Packers Talk / Martha Careful

    13-Mar / Green Bay Packers Talk / Martha Careful

    13-Mar / Green Bay Packers Talk / beast

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