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
    dfosterf (2h) : Maybe
    Mucky Tundra (2h) : Yes
    Zero2Cool (3h) : No.
    Mucky Tundra (6h) : End of a Degu-era
    dhazer (6h) : Steelers sign Patterson because of new kickoff rule interesting
    Zero2Cool (9h) : Former #Packers TE Josiah Deguara is signing a 1-year deal with the Jaguars, per source.
    Zero2Cool (10h) : They do not do it for "content sake".
    dfosterf (20h) : 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
    2h / Green Bay Packers Talk / buckeyepackfan

    21h / Green Bay Packers Talk / dfosterf

    21h / 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.