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
15 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
15 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
15 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
15 years ago
Ahh, sweet. Thank you, I will have to look into that.

So, you know PHP coding fairly well, or better?
UserPostedImage
rabidgopher04
15 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
15 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
15 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
15 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
15 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
Zero2Cool (2-Apr) : WR who said he'd break Xavier Worthy 40 time...and ran slower than you
Mucky Tundra (2-Apr) : Who?
Zero2Cool (2-Apr) : Texas’ WR Isaiah Bond is scheduled to visit the Bills, Browns, Chiefs, Falcons, Packers and Titans starting next week.
Zero2Cool (2-Apr) : Spotting ball isn't changing, only measuring distance is, Which wasn't the issue.
Zero2Cool (2-Apr) : The spotting of the ball IS the issue. Not the chain gang.
Mucky Tundra (2-Apr) : Will there be a tracker on the ball or something?
Zero2Cool (1-Apr) : uh oh
Martha Careful (1-Apr) : Too bad camera's can't spot the ball as well.
Mucky Tundra (1-Apr) : So will the chain gang be gone completely or will they still be around as a backup or whatever?
Zero2Cool (1-Apr) : The method for measuring first downs in the NFL will switch from chain gangs to camera-based technology in 2025, the league announced.
Martha Careful (1-Apr) : A big step in the right direction. Just put in the college system is very very good.
Zero2Cool (1-Apr) : NFL has passed a rule that allows both teams to possess the ball in OT during the regular season
Zero2Cool (1-Apr) : Touchbacks on kickoffs will now bring the ball to the 35-yard line.
beast (31-Mar) : It might of gotten more popular recently, but braiding hair (even men) in certain cultures goes back for centuries.
Martha Careful (30-Mar) : Is men braiding their hair a new style thing? Watching the NCAA men's tournament many players have done
Zero2Cool (29-Mar) : Ha. Well, it'd be nice for folks to reset their own password. Via validated email 😏
beast (29-Mar) : Monopoly was supposed to be an educational game, that show how evil capitalism was and how we should avoid it
beast (29-Mar) : Lol, I was thinking username would be better, as then I wouldn't have to keep an email up to date lol 😂
beast (29-Mar) : Zero2Cool (25-Mar) : I was thinking email because I think it'll make folks keep it up todate lol
wpr (29-Mar) : sure is
Zero2Cool (29-Mar) : Monopoly is a rip off of The Landlord's Game
wpr (27-Mar) : 28 days until the draft
earthquake (27-Mar) : Which seemed strange to my 9 year old self, that you could be a fan for a team other than the one you play for
earthquake (27-Mar) : Nothing eventful happened, other than it being clear that he was a bengals fan
earthquake (27-Mar) : And we went and hung out with him one afternoon, I must have been 9 or so
earthquake (27-Mar) : That’s wild, when I was a kid my friend lived in the same apartment complex in De Pere
Mucky Tundra (27-Mar) : Only career highspot was a 200 yard rushing game while playing for the Cardinals
Mucky Tundra (27-Mar) : He is a former Packer. Drafted out of Northern Illinois. Didn't do much in GB.
dfosterf (26-Mar) : Despicable
Zero2Cool (26-Mar) : Former NFL. I think Packers too
Zero2Cool (26-Mar) : NFL RB Leshon Johnson has been charged in a massive dog fighting operation, with the FBI seizing over 190 Pit Bulls
Mucky Tundra (26-Mar) : Some real irony of a QB as short as Wilson playing for the Giants
Mucky Tundra (26-Mar) : Giants country, let's be the tall beings of lore!
Mucky Tundra (26-Mar) : Russell Wilson signs with the Giants.
Zero2Cool (25-Mar) : I was thinking email because I think it'll make folks keep it up todate lol
wpr (25-Mar) : I don't think there is a significant difference. I use a user name for many. Others email.
Martha Careful (25-Mar) : email
Zero2Cool (25-Mar) : would it be better to use EMAIL or USERNAME to log into a site?
wpr (25-Mar) : Thanks Zero
Zero2Cool (24-Mar) : New forum has the ability to Thank a post now.
beast (24-Mar) : And the only time they have won the Championship in an even year, was the first time they did, in 2006.
beast (24-Mar) : Since 2007, there have been 10 odd numbered years, Wisconsin Women have won the Championship in 7 of those 10 odd numbered years.
buckeyepackfan (24-Mar) : Congratulations Lady Badger Hockey Team. NATIONAL CHAMPIONS!!
Zero2Cool (23-Mar) : I don't think it's completed yet. it was just announced last month, right?
dhazer (23-Mar) : did netflix ever release the Packers documentary
Zero2Cool (21-Mar) : And it is glorious!
beast (21-Mar) : Unsigned FA QB Rodgers is supposedly in the Steelers building
Martha Careful (19-Mar) : But I don't own a car! So can I still use it in my apartment?
Zero2Cool (19-Mar) : btw, new site auto updates
Zero2Cool (19-Mar) : Woohoo!
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 @ 3:25 PM
Vikings
Sunday, Jan 5 @ 12:00 PM
BEARS
Sunday, Jan 12 @ 3:30 PM
Eagles
Recent Topics
2-Apr / Green Bay Packers Talk / Zero2Cool

2-Apr / Green Bay Packers Talk / bboystyle

1-Apr / Green Bay Packers Talk / Mucky Tundra

1-Apr / Green Bay Packers Talk / wpr

31-Mar / Green Bay Packers Talk / Zero2Cool

30-Mar / Green Bay Packers Talk / Zero2Cool

29-Mar / Random Babble / wpr

28-Mar / Feedback, Suggestions and Issues / dfosterf

28-Mar / Random Babble / Martha Careful

26-Mar / Random Babble / Mucky Tundra

25-Mar / Random Babble / Martha Careful

24-Mar / Random Babble / packerfanoutwest

24-Mar / Random Babble / Zero2Cool

21-Mar / Green Bay Packers Talk / Zero2Cool

19-Mar / Green Bay Packers Talk / Zero2Cool

Copyright © 2006 - 2025 PackersHome.com™. All Rights Reserved.