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 (2h) : This page was generated in 0.135 seconds.
Mucky Tundra (2h) : Tbh, I can never tell the difference in speed unless it's completely shitting the bed
Zero2Cool (3h) : Sure does feel like site is more snappy
Zero2Cool (6h) : I thought that was the Lions OL
Mucky Tundra (7h) : Travis Glover placed on IR; seasons over for him
Zero2Cool (11h) : found bad sql in database, maybe site faster now?
dfosterf (5-Aug) : I'm going to call that a good move.
Zero2Cool (4-Aug) : Packers sign CB Corey Ballentine
Zero2Cool (4-Aug) : I'm not sure how to kill the draft order just yet so it's not so confusing.
Mucky Tundra (4-Aug) : *to be able
Mucky Tundra (4-Aug) : and because it's not a dynasty league (which makes a lot more sense to be ability to trade picks)
Mucky Tundra (4-Aug) : Oh I know; I was just exploring and it blew my mind that you could trade picks because of the whole reordering thing
Mucky Tundra (4-Aug) : Zero, I think I preferred my offer: your 1st for my 15th rounder
Zero2Cool (4-Aug) : Keep in mind, we do a draft reorder once all members locked in
Zero2Cool (4-Aug) : You can have my 12th Rd for your 2nd round
Mucky Tundra (4-Aug) : Hey i didn't know we could trade picks in fantasy
Mucky Tundra (3-Aug) : Update: Rock has tried a cheese curd, promises it's not his last
Zero2Cool (3-Aug) : watch it!! lol
Mucky Tundra (3-Aug) : you're right, we never did leave, the site just went down :P
Mucky Tundra (3-Aug) : Rock claims to have never eaten a cheese curd
Zero2Cool (3-Aug) : We did not leave.
Mucky Tundra (3-Aug) : Family Night! WE ARE SO BACK!
Mucky Tundra (2-Aug) : To this day, I'm still miffed about his 4 TD game against Dallas on Thanksgiving going to waste
Martha Careful (2-Aug) : Congratulations Sterling Sharpe. He was terrific and I loved watching him play.
beast (2-Aug) : I believe it's technically against the CBA rules, but Jerry just calls it a simple unofficial chat... and somehow gets away with it.
beast (2-Aug) : Jerry Jones is infamous for ̶n̶e̶g̶o̶t̶i̶a̶t̶i̶n̶g̶ chatting with players one on one... and going around the agent.
Mucky Tundra (1-Aug) : Oo just saw a blurb saying that Dallas negotiated directly with Parsons and not through his agent
Mucky Tundra (1-Aug) : I assumed that both guys will get paid, just a matter of when or how we get there
Zero2Cool (1-Aug) : McLaurin nor Micah going anywhere. They will get money
Mucky Tundra (1-Aug) : the Synder years or do they take care of one of their own?
Mucky Tundra (1-Aug) : Do the Commanders risk losing a top WR with an emerging QB just because he's turning 30 and potentially risk damaging the rebuild from
Mucky Tundra (1-Aug) : Turns 30 this September, plays at a high level and Washington has some cap space I believe
Mucky Tundra (1-Aug) : More interesting is Washington with Terry McLaurin
Mucky Tundra (1-Aug) : I would imagine Dallas will resolve this issue with a truckload of money
Zero2Cool (1-Aug) : Micah pulling a Myles with trade request
beast (1-Aug) : Packers should make some cheese forks
Mucky Tundra (31-Jul) : GRAB THE PITCHFORKS~
Zero2Cool (31-Jul) : CUT HIM
Mucky Tundra (31-Jul) : Socieltal collapse imminent
Mucky Tundra (31-Jul) : The West has fallen
Mucky Tundra (31-Jul) : After starting off camp with 25 straight made field goals, Brandon McManus has missed one
Zero2Cool (31-Jul) : But it should be stable
Zero2Cool (31-Jul) : It's probably gonna be slower.
Zero2Cool (31-Jul) : We're gonna just full go on to the new host.
Zero2Cool (31-Jul) : What crap. Site issues galore
Zero2Cool (30-Jul) : if PH dies, there is packerpeople com available
Zero2Cool (30-Jul) : database is on new host, eventually website will follow
Mucky Tundra (30-Jul) : Zero, regarding Ewers, you are correct.
Zero2Cool (30-Jul) : Sadly, this might be our life for awhile. I could put it on another host, but seems it was slower, although more stable
beast (30-Jul) : How long will it be down?
Please sign in to use Fan Shout
2025 Packers Schedule
Sunday, Sep 7 @ 3:25 PM
LIONS
Thursday, Sep 11 @ 7:15 PM
COMMANDERS
Sunday, Sep 21 @ 12:00 PM
Browns
Sunday, Sep 28 @ 7:20 PM
Cowboys
Sunday, Oct 12 @ 3:25 PM
BENGALS
Sunday, Oct 19 @ 3:25 PM
Cardinals
Sunday, Oct 26 @ 7:20 PM
Steelers
Sunday, Nov 2 @ 12:00 PM
PANTHERS
Monday, Nov 10 @ 7:15 PM
EAGLES
Sunday, Nov 16 @ 12:00 PM
Giants
Sunday, Nov 23 @ 12:00 PM
VIKINGS
Thursday, Nov 27 @ 12:00 PM
Lions
Sunday, Dec 7 @ 12:00 PM
BEARS
Sunday, Dec 14 @ 3:25 PM
Broncos
Friday, Dec 19 @ 11:00 PM
Bears
Friday, Dec 26 @ 11:00 PM
RAVENS
Saturday, Jan 3 @ 11:00 PM
Vikings
Recent Topics
5h / Fantasy Sports Talk / dfosterf

14h / Around The NFL / wpr

5-Aug / Green Bay Packers Talk / beast

5-Aug / Green Bay Packers Talk / wpr

4-Aug / Green Bay Packers Talk / bboystyle

3-Aug / Green Bay Packers Talk / Mucky Tundra

3-Aug / Green Bay Packers Talk / beast

3-Aug / Feedback, Suggestions and Issues / Zero2Cool

2-Aug / Green Bay Packers Talk / Mucky Tundra

2-Aug / Green Bay Packers Talk / wpr

28-Jul / Random Babble / Zero2Cool

28-Jul / Green Bay Packers Talk / Mucky Tundra

28-Jul / Green Bay Packers Talk / Mucky Tundra

27-Jul / Green Bay Packers Talk / Mucky Tundra

27-Jul / Green Bay Packers Talk / beast

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