Join Our Green Bay Packers Interactive Community!

We have been providing fans with the best source of Packers information since 2006!
Your participation is greatly anticipated!
Login or Register.
7 Pages«<4567>
Options
View
Go to last post Go to first unread
Offline Rockmolder  
#76 Posted : Tuesday, September 22, 2009 6:50:06 PM(UTC)
Rockmolder

Rank: Super Bowl MVP

FleaFlicker Fantasy Football - Bronze: 2010

Netherlands
Joined: 9/14/2008(UTC)

Applause Given: 148
Applause Received: 248

Originally Posted by: " Go to Quoted Post
Woohooo!! I figured it out!! Works like a freaking champ!!

I got the array to increment the element and also figured out how to use the for each array to cycle through each element. w00t!

Now to implement the check for all games selected and finish the template.

POW!!! RIGHT IN THE KISSER
POW!!! RIGHT IN THE KISSER
POW!!! RIGHT IN THE KISSER
POW!!! RIGHT IN THE KISSER
POW!!! RIGHT IN THE KISSER
POW!!! RIGHT IN THE KISSER
POW!!! RIGHT IN THE KISSER
POW!!! RIGHT IN THE KISSER


[youtube]husjA7bfmug[/youtube]

I know, I know. Honeymooners for you old people.
UserPostedImage
Offline dhpackr  
#77 Posted : Wednesday, September 23, 2009 9:59:05 PM(UTC)
dhpackr

Rank: 4th Round Draft Pick

Joined: 12/12/2007(UTC)

Applause Given: 36
Applause Received: 36

GR8 Job!
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
Offline Zero2Cool  
#78 Posted : Thursday, September 24, 2009 9:20:48 AM(UTC)
Zero2Cool

Rank: Legend

Yahoo! 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: 1,895
Applause Received: 2,093

Originally Posted by: " 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
UserPostedImage
Offline wpr  
#79 Posted : Thursday, September 24, 2009 11:42:02 PM(UTC)
wpr

Rank: Hall of Famer

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

United States
Joined: 8/8/2008(UTC)

Applause Given: 2,914
Applause Received: 1,409

Originally Posted by: " Go to Quoted Post
I have no idea what you are talking about, but thanks for keeping this site running!


Ditto.
"You don't hurt 'em if you don't hit 'em." Chesty Puller



UserPostedImage

Offline dhpackr  
#80 Posted : Thursday, September 24, 2009 11:57:16 PM(UTC)
dhpackr

Rank: 4th Round Draft Pick

Joined: 12/12/2007(UTC)

Applause Given: 36
Applause Received: 36

Originally Posted by: " Go to Quoted Post
Originally Posted by: " 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.
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
Offline Zero2Cool  
#81 Posted : Thursday, October 8, 2009 12:50:07 AM(UTC)
Zero2Cool

Rank: Legend

Yahoo! 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: 1,895
Applause Received: 2,093

Originally Posted by: " Go to Quoted Post
Originally Posted by: " Go to Quoted Post
Originally Posted by: " 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.
UserPostedImage
Offline Zero2Cool  
#82 Posted : Tuesday, December 8, 2009 3:23:47 PM(UTC)
Zero2Cool

Rank: Legend

Yahoo! 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: 1,895
Applause Received: 2,093

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
Offline Zero2Cool  
#83 Posted : Friday, December 11, 2009 4:04:38 PM(UTC)
Zero2Cool

Rank: Legend

Yahoo! 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: 1,895
Applause Received: 2,093

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
Offline rabidgopher04  
#84 Posted : Saturday, December 12, 2009 6:46:48 AM(UTC)
rabidgopher04

Rank: 4th Round Draft Pick

Joined: 8/7/2008(UTC)

Applause Given: 113
Applause Received: 127

Originally Posted by: " 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.
Do you like bacon?
Offline Zero2Cool  
#85 Posted : Saturday, December 12, 2009 2:39:17 PM(UTC)
Zero2Cool

Rank: Legend

Yahoo! 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: 1,895
Applause Received: 2,093

Ahh, sweet. Thank you, I will have to look into that.

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

Rank: 4th Round Draft Pick

Joined: 8/7/2008(UTC)

Applause Given: 113
Applause Received: 127

Originally Posted by: " 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.
Do you like bacon?
Offline dhpackr  
#87 Posted : Tuesday, January 5, 2010 3:54:46 PM(UTC)
dhpackr

Rank: 4th Round Draft Pick

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
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
Offline Zero2Cool  
#88 Posted : Tuesday, January 5, 2010 6:02:18 PM(UTC)
Zero2Cool

Rank: Legend

Yahoo! 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: 1,895
Applause Received: 2,093

I believe the software already has a password reset feature. If you logout, click 'Forgot Password' you should be stepped through that process.
UserPostedImage
Offline dhpackr  
#89 Posted : Tuesday, January 5, 2010 6:13:29 PM(UTC)
dhpackr

Rank: 4th Round Draft Pick

Joined: 12/12/2007(UTC)

Applause Given: 36
Applause Received: 36

Originally Posted by: " 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??
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
Offline wpr  
#90 Posted : Tuesday, January 5, 2010 6:37:34 PM(UTC)
wpr

Rank: Hall of Famer

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

United States
Joined: 8/8/2008(UTC)

Applause Given: 2,914
Applause Received: 1,409

Originally Posted by: " 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.
"You don't hurt 'em if you don't hit 'em." Chesty Puller



UserPostedImage

 
Users browsing this topic
Guest
7 Pages«<4567>
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.

Powered by YAF.NET | YAF.NET © 2003-2014, Yet Another Forum.NET
This page was generated in 0.198 seconds.

Notification

Icon
Error

Tweeter

Recent Topics
22m / Green Bay Packers Talk / Mucky Tundra

45m / Random Babble / Zero2Cool

3h / Green Bay Packers Talk / steveishere

3h / Green Bay Packers Talk / Mucky Tundra

5h / Fantasy Sports Talk / wpr

5h / Random Babble / wpr

5h / Green Bay Packers Talk / nerdmann

11h / Green Bay Packers Talk / Smokey

14h / Around The NFL / Smokey

16h / Green Bay Packers Talk / nerdmann

16h / Green Bay Packers Talk / nerdmann

16h / Random Babble / Cheesey

17h / Green Bay Packers Talk / dfosterf

17h / Random Babble / Cheesey

18h / Green Bay Packers Talk / nerdmann


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