Green Bay Packers Forum

Welcome to your Green Bay Packers Online Community!

Since 2006, PackersHome has been providing a unique experience for fans.
Your participation is greatly anticipated!
Login or Register.
10 Pages«<78910>
Options
Go to last post Go to first unread
Offline Zero2Cool  
#81 Posted : Thursday, October 8, 2009 12:50:07 AM(UTC)
Rank: Premier Member

Yahoo! NCAA March Madness - Gold: 2015Yahoo! Fantasy Football - Gold: 2009FleaFlicker Fantasy Football - Silver: 2010Yahoo! NCAA March Madness - Silver: 2011ESPN NCAA March Madness - Bronze: 2010Yahoo! NCAA March Madness - Bronze: 2013

United States
Joined: 10/13/2006(UTC)
Location: Green Bay, WI
Applause Given: 2,448
Applause Received: 3,869
" said: Go to Quoted Post
" said: Go to Quoted Post
" said: Go to Quoted Post
GR8 Job!


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


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


I'm hoping to tackle this again this weekend.
Offline Zero2Cool  
#82 Posted : Tuesday, December 8, 2009 3:23:47 PM(UTC)
Rank: Premier Member

Yahoo! NCAA March Madness - Gold: 2015Yahoo! Fantasy Football - Gold: 2009FleaFlicker Fantasy Football - Silver: 2010Yahoo! NCAA March Madness - Silver: 2011ESPN NCAA March Madness - Bronze: 2010Yahoo! NCAA March Madness - Bronze: 2013

United States
Joined: 10/13/2006(UTC)
Location: Green Bay, WI
Applause Given: 2,448
Applause Received: 3,869
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.
Offline Zero2Cool  
#83 Posted : Friday, December 11, 2009 4:04:38 PM(UTC)
Rank: Premier Member

Yahoo! NCAA March Madness - Gold: 2015Yahoo! Fantasy Football - Gold: 2009FleaFlicker Fantasy Football - Silver: 2010Yahoo! NCAA March Madness - Silver: 2011ESPN NCAA March Madness - Bronze: 2010Yahoo! NCAA March Madness - Bronze: 2013

United States
Joined: 10/13/2006(UTC)
Location: Green Bay, WI
Applause Given: 2,448
Applause Received: 3,869
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?
Offline rabidgopher04  
#84 Posted : Saturday, December 12, 2009 6:46:48 AM(UTC)
Rank: Member

Joined: 8/7/2008(UTC)
Applause Given: 134
Applause Received: 158
" said: Go to Quoted Post
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?


Put this inside of your loop:

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

Replace $varname; with whatever the name of your variable is. You can flesh out the rest of it, but that's the basics.
Offline Zero2Cool  
#85 Posted : Saturday, December 12, 2009 2:39:17 PM(UTC)
Rank: Premier Member

Yahoo! NCAA March Madness - Gold: 2015Yahoo! Fantasy Football - Gold: 2009FleaFlicker Fantasy Football - Silver: 2010Yahoo! NCAA March Madness - Silver: 2011ESPN NCAA March Madness - Bronze: 2010Yahoo! NCAA March Madness - Bronze: 2013

United States
Joined: 10/13/2006(UTC)
Location: Green Bay, WI
Applause Given: 2,448
Applause Received: 3,869
Ahh, sweet. Thank you, I will have to look into that.

So, you know PHP coding fairly well, or better?
Offline rabidgopher04  
#86 Posted : Saturday, December 12, 2009 7:02:32 PM(UTC)
Rank: Member

Joined: 8/7/2008(UTC)
Applause Given: 134
Applause Received: 158
" said: Go to Quoted Post
Ahh, sweet. Thank you, I will have to look into that.

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


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.
Offline dhpackr  
#87 Posted : Tuesday, January 5, 2010 3:54:46 PM(UTC)
Rank: Registered

Joined: 12/12/2007(UTC)
Applause Given: 36
Applause Received: 36
//how about this

&lt;input type="radio" name="packer" value="1"&lt;?if($packer=="1"){echo " checked ";}?&gt;>Packers&lt;br&gt;
&lt;input type="radio" name="Az" value="1"&lt;?if($Az=="1"){echo " checked ";}?&gt;>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
Offline Zero2Cool  
#88 Posted : Tuesday, January 5, 2010 6:02:18 PM(UTC)
Rank: Premier Member

Yahoo! NCAA March Madness - Gold: 2015Yahoo! Fantasy Football - Gold: 2009FleaFlicker Fantasy Football - Silver: 2010Yahoo! NCAA March Madness - Silver: 2011ESPN NCAA March Madness - Bronze: 2010Yahoo! NCAA March Madness - Bronze: 2013

United States
Joined: 10/13/2006(UTC)
Location: Green Bay, WI
Applause Given: 2,448
Applause Received: 3,869
I believe the software already has a password reset feature. If you logout, click 'Forgot Password' you should be stepped through that process.
Offline dhpackr  
#89 Posted : Tuesday, January 5, 2010 6:13:29 PM(UTC)
Rank: Registered

Joined: 12/12/2007(UTC)
Applause Given: 36
Applause Received: 36
" said: Go to Quoted Post
I believe the software already has a password reset feature. If you logout, click 'Forgot Password' you should be stepped through that process.

I did not see the 'Forgot Password' link.

does my code sample provide any assistance??
Offline wpr  
#90 Posted : Tuesday, January 5, 2010 6:37:34 PM(UTC)
Rank: Select Member

PackersHome NFL Pick'em - Gold: 2012PackersHome NFL Pick'em - Gold: 2013FleaFlicker Fantasy Football - Silver: 2014FleaFlicker Fantasy Football - Bronze: 2013

Joined: 8/8/2008(UTC)
Applause Given: 3,800
Applause Received: 1,932
" said: Go to Quoted Post
I believe the software already has a password reset feature. If you logout, click 'Forgot Password' you should be stepped through that process.


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.
Rss Feed 
Users browsing this topic
Guest
10 Pages«<78910>
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error


Fan Shout
Smokey (2h) : GO NAVY, BEAT ARMY !
Smokey (9-Dec) : 60% chance of SNOW in GB on Sunday. Most likely to fall before noon .
Smokey (8-Dec) : JOIN THE FORUM AND POST YOUR VIEWS !
The_Green_Ninja (8-Dec) : ...bro his senior year turns into a different person drunk. Gets in fights. And one time trashed out a Pita Pit by throwing his food
The_Green_Ninja (8-Dec) : Fun fact from people I know who knew Dak Prescott when he was at Mississippi State...
Pack93z (7-Dec) : @Dhazer Winning the regular season title.... lol... good for a soggy cookie... see you in the playoffs.. ;)
Nonstopdrivel (7-Dec) : In any case, Rashaan Salaam died this week.
Nonstopdrivel (7-Dec) : Didn't there used to be a member who posted as Rashaan Salami?
Smokey (7-Dec) : REMEMBER PEARL HARBOR , 75 years ago today. God Bless America
Zero2Cool (7-Dec) : Today's Birthdays: Gilligan (46)
Smokey (7-Dec) : The TFFL could use 4 more like you Jon. Know any that wants to join next year ?
Smokey (7-Dec) : I am proud of you Jon .
Smokey (7-Dec) : Yes Jon, you can indeed be proud of your efforts . I am .
rabidgopher04 (7-Dec) : league behind you and the other guy.
rabidgopher04 (7-Dec) : @Smokey - tough competition for sure. I'm not holding my breath. Just glad I could rebound after a bad start. 3rd most points scored in the
Smokey (7-Dec) : You won what other league dhazer ?
Smokey (7-Dec) : for
Smokey (7-Dec) : Low blow dhazer, 5 min. in the penalty box foe slashing ! lol
Smokey (7-Dec) : Yes, fine job rabid. Now compete with the other 9 - 4 in the league . ;) LOL !
rabidgopher04 (7-Dec) : Correction: I am second seed in the playoffs
rabidgopher04 (7-Dec) : I crawled my way back from 2-6 to 7-6 to win my division and 3rd place in Tailgaters FFL. Playoff should be fun.
Zero2Cool (6-Dec) : ;-)
dhazer (6-Dec) : i clinched last place in the Packershome thanks to the awesome draft skills of smokey lol and won the other league
Zero2Cool (6-Dec) : Wow. Rashaan Salaam was found dead Monday night at a park in Boulder. Police said there was no sign of foul play. He was 42
Pack93z (6-Dec) : In one league I went from 2-5 to 8-5 and clinched a playoff spot... #Believe Best I have for the Packers at the moment.
Zero2Cool (6-Dec) : Sweet. I backed my sweet ass into the playoffs. 8th and final seed.
Smokey (6-Dec) : Thank you Zero, I also just finished the Reg. Fantasy season at #1 . (Tailgaters Fantasy Football League ) .
The_Green_Ninja (5-Dec) : Same ol' Jay xD
Zero2Cool (5-Dec) : Aaron Rodgers over the last 7 games: 302 passing yards/game, 19 TDs, 3 INTs, 104.6 passer rating. 212 rushing yards, TD.
Zero2Cool (5-Dec) : Nice! I noticed you rocked your NFL Picks this week too! Nice work!!
Smokey (5-Dec) : Yes, he got me 29 fantasy points !
Zero2Cool (5-Dec) : Didn't David Johnson have a really good game though?
DarkaneRules (4-Dec) : cardinals run game looks worse than ours
Zero2Cool (4-Dec) : Packers inactives v Texans: WR Trevor Davis CB Makinton Dorleant ILB Blake Martinez OLB Kyler Fackrell RG Lang C Tretter DT Christian Ringo
buckeyepackfan (4-Dec) : GOOD MORNING PACKER FANS! GAMEDAY! GO! PACK! GO!
Please sign in to use Fan Shout

2016 Packers Schedule
Sunday, Sep 11 @ 12:00 PM
at Jaguars
Sunday, Sep 18 @ 7:30 PM
at Vikings
Sunday, Sep 25 @ 12:00 PM
LIONS
Sunday, Oct 2 @ 12:00 AM
BYE
Sunday, Oct 9 @ 7:30 PM
GIANTS
Sunday, Oct 16 @ 3:25 PM
COWBOYS
Thursday, Oct 20 @ 7:25 PM
BEARS
Sunday, Oct 30 @ 3:25 PM
at Falcons
Sunday, Nov 6 @ 3:25 PM
COLTS
Sunday, Nov 13 @ 12:00 PM
at Titans
Sunday, Nov 20 @ 7:30 PM
at Redskins
Monday, Nov 28 @ 7:30 PM
at Eagles
Sunday, Dec 4 @ 12:00 PM
TEXANS
Sunday, Dec 11 @ 3:25 PM
SEAHAWKS
Sunday, Dec 18 @ 12:00 PM
at Bears
Saturday, Dec 24 @ 12:00 PM
VIKINGS
Sunday, Jan 1 @ 12:00 PM
at Lions

Think About It
Think About It

Recent Topics
3h / Green Bay Packers Talk / Zero2Cool

15h / Green Bay Packers Talk / nerdmann

15h / Green Bay Packers Talk / nerdmann

9-Dec / Green Bay Packers Talk / The_Green_Ninja

9-Dec / Fantasy Sports Talk / Smokey

8-Dec / Green Bay Packers Talk / Zero2Cool

8-Dec / Green Bay Packers Talk / Zero2Cool

8-Dec / Green Bay Packers Talk / steveishere

7-Dec / Green Bay Packers Talk / Porforis

7-Dec / Green Bay Packers Talk / Zero2Cool

7-Dec / Green Bay Packers Talk / PackFanWithTwins

7-Dec / Green Bay Packers Talk / Zero2Cool

7-Dec / Green Bay Packers Talk / Zero2Cool

6-Dec / Fantasy Sports Talk / Zero2Cool

6-Dec / Green Bay Packers Talk / packerfanoutwest


Packers Headlines