Zero2Cool
14 years ago

GR8 Job!

"dhpackr" wrote:



Thanks. Now I'm trying to find my pseudo code on how to tally up the numbers or think of how I was planning on it in the first place. lol

"Zero2Cool" wrote:



i was wondering about that, i sent you an PM.

"dhpackr" wrote:



I'm hoping to tackle this again this weekend.
UserPostedImage
Zero2Cool
14 years ago
A lot has happened, but in the last day and a half I decided to dedicate some time to this.

I have it 95% completed.

Currently ...
[ul]Members can submit picks.
Winners tabulated.
Main index displays descending order of correct picks.
Compilation of total picks tabulated accurately.[/ul]


The last thing I'm working on, is making the software dynamic instead of static. I might just say scratch it and do it static. albeit it'll take some time copying and pasting the Home vs Visitor stuff, but that's ok.


Long story short, this is ready for use for NFL Picks 2010.
UserPostedImage
Zero2Cool
14 years ago
I'd like to have the schedules stored in the database and populated as such.

How to get a variable value displayed as a radio button option?
UserPostedImage
rabidgopher04
14 years ago

I'd like to have the schedules stored in the database and populated as such.

How to get a variable value displayed as a radio button option?

"Zero2Cool" wrote:



Put this inside of your loop:

[php]<input type="radio" name="name" value="<?= $varname; ?>" />[/php]

Replace $varname; with whatever the name of your variable is. You can flesh out the rest of it, but that's the basics.
Amazing Bacon Delivery  Service! Never be without good bacon again.
Zero2Cool
14 years ago
Ahh, sweet. Thank you, I will have to look into that.

So, you know PHP coding fairly well, or better?
UserPostedImage
rabidgopher04
14 years ago

Ahh, sweet. Thank you, I will have to look into that.

So, you know PHP coding fairly well, or better?

"Zero2Cool" wrote:



Yep. I've been doing it off and on for at least 6 years and I did it for employment for 1 year up through May of this year. I still have to look some things up, but I usually understand it quickly.
Amazing Bacon Delivery  Service! Never be without good bacon again.
dhpackr
14 years ago
//how about this

<input type="radio" name="packer" value="1"<?if($packer=="1"){echo " checked ";}?>>Packers<br>
<input type="radio" name="Az" value="1"<?if($Az=="1"){echo " checked ";}?>>AZ

//you need a function to store and retrieve this data to and from your db

//like this
//create variables
class Picks {
var $packer = null;
var $Az = null;
}
//create function
function add_pick($Packer, $Az) {
$this->packer = $packer;
$this->Az = $Az;
}

//BTW did u ever consider adding a reset password feature to your site
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 believe the software already has a password reset feature. If you logout, click 'Forgot Password' you should be stepped through that process.
UserPostedImage
dhpackr
14 years ago

I believe the software already has a password reset feature. If you logout, click 'Forgot Password' you should be stepped through that process.

"Zero2Cool" wrote:


I did not see the 'Forgot Password' link.

does my code sample provide any assistance??
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
wpr
  • wpr
  • Preferred Member
14 years ago

I believe the software already has a password reset feature. If you logout, click 'Forgot Password' you should be stepped through that process.

"Zero2Cool" wrote:



On a semi related subject-
Is it Firefox' fault that I have to sign back in every time? I think when I used EI it logged me in automatically. Now with Firefox if I close out my web browser I have to sign back in.
UserPostedImage
Users browsing this topic
    Fan Shout
    Mucky Tundra (7h) : Adds most of the information this time of year comes from agents.
    Mucky Tundra (7h) : @RealAlexBarth Bill Belichick says accurate draft information doesn't leak from teams until about 12 hours before the draft. Adds most of th
    Mucky Tundra (7h) : I am very happy that for moment, Jordan Love seems like a normal human being
    Zero2Cool (18h) : Belichick * whatever
    Zero2Cool (18h) : "There's a lot of depth at Offensive Tackle and Wide Receiver." Bill Bellichick
    Zero2Cool (17-Apr) : Thanks! I can't believe it's over haha
    Martha Careful (16-Apr) : Congratulations
    Zero2Cool (16-Apr) : Boom. Student Loan. $0.00. Only took about 20 years.
    Zero2Cool (14-Apr) : Packers DT Kenny Clark: New defensive coordinator Jeff Hafley will 'allow us to be way more disruptive'
    Zero2Cool (12-Apr) : Saints have agreed to terms on a contract with former Packers wide receiver Equanimeous St. Brown.
    beast (12-Apr) : No, but of it's for legislation, then half of the country will find it evil, not good, whatever it says....
    Mucky Tundra (12-Apr) : Draft is still 2 weeks away. UGH
    dhazer (11-Apr) : Does anyone know of a good AI generator to create letters of Support for legislation?
    Zero2Cool (11-Apr) : Gordon "Red" Batty retires as equipment manager
    Zero2Cool (10-Apr) : Sounds like that's pretty certain now.
    Zero2Cool (10-Apr) : Packers "at" Eagles in Brazil. Week One
    dfosterf (10-Apr) : Va' Fazer As Malas Va' !
    Zero2Cool (9-Apr) : Mark Murphy tipping us off?
    Zero2Cool (9-Apr) : “We’re either the first- or second-most popular team in Brazil.”
    Zero2Cool (9-Apr) : Christian Watson got married. Wife better be careful with those hamstrings!! 😂😂
    dfosterf (9-Apr) : Those poor bastards
    Zero2Cool (8-Apr) : Falcons have signed former Packers CB Kevin King, who has been out of football since 2021.
    dfosterf (8-Apr) : Collectively, we need to spend more time in what we have, when analyzing ostendible needs and historical proclivities
    dfosterf (8-Apr) : I say he is better than so many of these draft picks
    dfosterf (8-Apr) : Question of the week for me: Has anyone besides me done any deep dive into the potential of Alex McGough, our 3rd string qb?
    Zero2Cool (8-Apr) : Or in Tunsil's case, something gets released day of draft or day before lol
    Zero2Cool (8-Apr) : Seems every year someone does something pre-draft.
    dfosterf (8-Apr) : Falling down drunk. The draft board
    dfosterf (8-Apr) : Allright! Potential character guy/f#×k up pickup in D'Vondre Sweat!
    Zero2Cool (7-Apr) : Go Badgers!!!
    Martha Careful (6-Apr) : Go Boilermakers!!!
    Martha Careful (5-Apr) : Diggs has not stepped up in the playoffs and has a high cost
    beast (5-Apr) : Probably not going to let Diggs walk away unless he's horrible... but according to reports he also might not be as good as he used to be.
    beast (5-Apr) : The 25th pick in the draft has been an offensive player since 2017, 2 TE, 2 WR, 1 RB, 1 OC
    Mucky Tundra (5-Apr) : Odd, why give up a 2025 2nd Rounder for him if you're just gonna let him walk?
    Zero2Cool (4-Apr) : Texans to let Diggs be free agent in '25
    buckeyepackfan (4-Apr) : 49r's aign RB Patrick Taylor.
    Martha Careful (4-Apr) : Reversion to the mean would indicate we will keep it
    Zero2Cool (4-Apr) : It's also been utilized in a trade in 14 of the past 20 years
    Zero2Cool (4-Apr) : The 25th pick in the draft hasn't been made by it's original holder since 2016.
    Mucky Tundra (4-Apr) : Gotta imagine that Green Bay vs Houston will be a primetime game this upcoming season
    Zero2Cool (3-Apr) : No. Kill QB. No worries. 😁
    Mucky Tundra (3-Apr) : Diggs, Collins, Dell and Schultz is gonna be tough to cover
    Zero2Cool (3-Apr) : Stefon Diggs' trade will not be processed as a post-June 1 designation, so that is just over $31 million in dead cap this year.
    Zero2Cool (3-Apr) : Bills trading WR Stefon Diggs to the Texans in exchange for a 2025 2nd-round pick. (via @rapsheet)
    beast (3-Apr) : Using Patterson as RB and RB/WR tweener... so I think they also signed Patterson as a 3rd down RB, not just a kick returner as articles are
    beast (3-Apr) : I think PFT missed the real Steelers/Patterson connection, Steelers new OC Arthur Smith has been Patterson's head coach the last 3 years
    wpr (2-Apr) : It has Martha. I was stunned when I was in HS to learn Iowa was still playing half court BB in the 70's.
    Martha Careful (2-Apr) : Caitlin Clark, Angel Reese...women's sports has come a long way. GREAT TO SEE!!
    Martha Careful (31-Mar) : Happy Easter everyone. I hope you all have a great day.
    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
    5h / Random Babble / Mucky Tundra

    7h / Green Bay Packers Talk / Mucky Tundra

    11h / Green Bay Packers Talk / beast

    13h / Random Babble / Martha Careful

    17h / Green Bay Packers Talk / Mucky Tundra

    17h / Green Bay Packers Talk / Mucky Tundra

    21h / Green Bay Packers Talk / beast

    22h / Green Bay Packers Talk / beast

    23h / Green Bay Packers Talk / beast

    16-Apr / Random Babble / Martha Careful

    15-Apr / Green Bay Packers Talk / dfosterf

    12-Apr / Random Babble / Nonstopdrivel

    12-Apr / Green Bay Packers Talk / Martha Careful

    11-Apr / Green Bay Packers Talk / Zero2Cool

    8-Apr / Green Bay Packers Talk / Zero2Cool

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