You are not logged in. Join Free! | Log In Thank you!    

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.

Notification

Icon
Error

7 Pages«<4567>
Share
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

Netherlands
Posts: 6,343
Joined: 9/14/2008(UTC)

Applause Given: 143
Applause Received: 215

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

Posts: 963
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

United States
Posts: 25,225
Joined: 10/13/2006(UTC)
Location: Green Bay, WI

Applause Given: 1,739
Applause Received: 1,790

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
Click here and find the LATEST Packers News!
Offline wpr  
#79 Posted : Thursday, September 24, 2009 11:42:02 PM(UTC)
wpr

Rank: Hall of Famer

United States
Posts: 11,869
Joined: 8/8/2008(UTC)

Applause Given: 2,405
Applause Received: 1,192

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

Posts: 963
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

United States
Posts: 25,225
Joined: 10/13/2006(UTC)
Location: Green Bay, WI

Applause Given: 1,739
Applause Received: 1,790

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
Click here and find the LATEST Packers News!
Offline Zero2Cool  
#82 Posted : Tuesday, December 8, 2009 3:23:47 PM(UTC)
Zero2Cool

Rank: Legend

United States
Posts: 25,225
Joined: 10/13/2006(UTC)
Location: Green Bay, WI

Applause Given: 1,739
Applause Received: 1,790

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
Click here and find the LATEST Packers News!
Offline Zero2Cool  
#83 Posted : Friday, December 11, 2009 4:04:38 PM(UTC)
Zero2Cool

Rank: Legend

United States
Posts: 25,225
Joined: 10/13/2006(UTC)
Location: Green Bay, WI

Applause Given: 1,739
Applause Received: 1,790

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
Click here and find the LATEST Packers News!
Offline rabidgopher04  
#84 Posted : Saturday, December 12, 2009 6:46:48 AM(UTC)
rabidgopher04

Rank: 4th Round Draft Pick

Posts: 953
Joined: 8/7/2008(UTC)

Applause Given: 102
Applause Received: 123

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

United States
Posts: 25,225
Joined: 10/13/2006(UTC)
Location: Green Bay, WI

Applause Given: 1,739
Applause Received: 1,790

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

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

UserPostedImage
Click here and find the LATEST Packers News!
Offline rabidgopher04  
#86 Posted : Saturday, December 12, 2009 7:02:32 PM(UTC)
rabidgopher04

Rank: 4th Round Draft Pick

Posts: 953
Joined: 8/7/2008(UTC)

Applause Given: 102
Applause Received: 123

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

Posts: 963
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

United States
Posts: 25,225
Joined: 10/13/2006(UTC)
Location: Green Bay, WI

Applause Given: 1,739
Applause Received: 1,790

I believe the software already has a password reset feature. If you logout, click 'Forgot Password' you should be stepped through that process.

UserPostedImage
Click here and find the LATEST Packers News!
Offline dhpackr  
#89 Posted : Tuesday, January 5, 2010 6:13:29 PM(UTC)
dhpackr

Rank: 4th Round Draft Pick

Posts: 963
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

United States
Posts: 11,869
Joined: 8/8/2008(UTC)

Applause Given: 2,405
Applause Received: 1,192

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 (2)
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 2.1.0 | YAF © 2003-2014, Yet Another Forum.NET
This page was generated in 0.238 seconds.