Zero2Cool
15 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
Fan Shout
Martha Careful (11h) : I hope it is colder than a well-diggers ass on Thanksgiving night.
Zero2Cool (19h) : doubt he wants to face the speedsters
beast (19h) : Dolphins offense can be explosive... I wonder if we'll have Alexander back
Zero2Cool (21h) : 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
Zero2Cool (19-Nov) : The Jets fired Joe Douglas, per sources
packerfanoutwest (19-Nov) : Jets are a mess......
Zero2Cool (19-Nov) : Pretty sure Jets fired their scouting staff and just pluck former Packers.
Zero2Cool (19-Nov) : Jets sign Anders Carlson to their 53.
Zero2Cool (19-Nov) : When you cycle the weeks, the total over remains for season. But you get your W/L for that selected week. Confusing.
packerfanoutwest (19-Nov) : the total and percentage are the same as the previous weeks
packerfanoutwest (19-Nov) : the total and percentage are the same as the previous weeks
packerfanoutwest (19-Nov) : the totals are accurate..nrvrtmind
Zero2Cool (19-Nov) : I don't follow what you are saying. The totals are not the same as last week.
packerfanoutwest (19-Nov) : ok so then wht are the totals the same as last week?
Zero2Cool (19-Nov) : NFL Pick'em is auto updated when NFL Scores tab is clicked
Martha Careful (19-Nov) : The offense was OK. Let's not forget the Bear defense is very very good.
packerfanoutwest (19-Nov) : Who updates the leaderboard on NFLPickem?
beast (19-Nov) : Has the Packers offense been worse since the former Jets coach joined the Packers?
Zero2Cool (19-Nov) : Offense gets his ass in gear, this could be good.
Zero2Cool (19-Nov) : Backup QB helped with three wins. Special Teams contributed to three wins.
bboystyle (18-Nov) : Lions played outside thats why. They scored 16 and 17 in the only 2 outside games this year
Zero2Cool (18-Nov) : The rest of the NFL is catching up to Packers ... kicking is an issue throughout league
packerfanoutwest (18-Nov) : Packers DL Kenny Clark: We knew 'we were going to block' Bears' game-winning field goal attempt
Zero2Cool (18-Nov) : Lions seem to be throttling everyone, but only (only) got 24 lol maybe the rain is why
Zero2Cool (18-Nov) : Packers vs Lions game doesn't seem so bad.
beast (18-Nov) : Dennis Green "They are what we thought they were, and we let them off the hook!"
Martha Careful (17-Nov) : comment of the day Z2Cool "Bears better than we want to admit. Packers worse than we think. It's facts."
Mucky Tundra (17-Nov) : my worst case scenario: Bears fix their oline and get a coach like Johnson from the Lions and his scheme
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
10h / Green Bay Packers Talk / Zero2Cool

10h / Green Bay Packers Talk / bboystyle

17h / Green Bay Packers Talk / Zero2Cool

25-Nov / Green Bay Packers Talk / buckeyepackfan

24-Nov / Green Bay Packers Talk / buckeyepackfan

24-Nov / Green Bay Packers Talk / Zero2Cool

23-Nov / Green Bay Packers Talk / dfosterf

23-Nov / Green Bay Packers Talk / Zero2Cool

21-Nov / Green Bay Packers Talk / Martha Careful

21-Nov / Green Bay Packers Talk / Zero2Cool

21-Nov / Green Bay Packers Talk / beast

20-Nov / Green Bay Packers Talk / Zero2Cool

20-Nov / Green Bay Packers Talk / beast

20-Nov / Green Bay Packers Talk / wpr

19-Nov / Green Bay Packers Talk / dfosterf

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