Rank: Super Bowl MVP
Posts: 6,247 Joined: 9/14/2008(UTC)
Applause Given: 104 Applause Received: 160
|
Originally Posted by: "  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. |
|
|
|
|
|
|
Rank: 4th Round Draft Pick
Posts: 861 Joined: 12/12/2007(UTC)
Applause Given: 12 Applause Received: 15
|
|
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 |
|
|
|
|
|
Rank: Legend
Posts: 22,860 Joined: 10/14/2006(UTC) Location: United States
Applause Given: 1,291 Applause Received: 900
|
Originally Posted by: "  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 |
|
|
|
|
|
|
Rank: Most Valuable Player
Posts: 9,574 Joined: 8/8/2008(UTC)
Applause Given: 1,360 Applause Received: 720
|
Originally Posted by: "  I have no idea what you are talking about, but thanks for keeping this site running! Ditto. |
One does not simply walk into Mordor. |
|
|
|
|
|
Rank: 4th Round Draft Pick
Posts: 861 Joined: 12/12/2007(UTC)
Applause Given: 12 Applause Received: 15
|
Originally Posted by: "  Originally Posted by: "  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 |
|
|
|
|
|
Rank: Legend
Posts: 22,860 Joined: 10/14/2006(UTC) Location: United States
Applause Given: 1,291 Applause Received: 900
|
Originally Posted by: "  Originally Posted by: "  Originally Posted by: "  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. |
|
|
|
|
|
|
Rank: Legend
Posts: 22,860 Joined: 10/14/2006(UTC) Location: United States
Applause Given: 1,291 Applause Received: 900
|
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. |
|
|
|
|
|
|
Rank: Legend
Posts: 22,860 Joined: 10/14/2006(UTC) Location: United States
Applause Given: 1,291 Applause Received: 900
|
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? |
|
|
|
|
|
|
Rank: 4th Round Draft Pick
Posts: 827 Joined: 8/7/2008(UTC)
Applause Given: 79 Applause Received: 76
|
Originally Posted by: "  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]<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. |
This space intentionally left blank. |
|
|
|
|
|
Rank: Legend
Posts: 22,860 Joined: 10/14/2006(UTC) Location: United States
Applause Given: 1,291 Applause Received: 900
|
Ahh, sweet. Thank you, I will have to look into that.
So, you know PHP coding fairly well, or better? |
|
|
|
|
|
|
Rank: 4th Round Draft Pick
Posts: 827 Joined: 8/7/2008(UTC)
Applause Given: 79 Applause Received: 76
|
Originally Posted by: "  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. |
This space intentionally left blank. |
|
|
|
|
|
Rank: 4th Round Draft Pick
Posts: 861 Joined: 12/12/2007(UTC)
Applause Given: 12 Applause Received: 15
|
//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 |
|
|
|
|
|
Rank: Legend
Posts: 22,860 Joined: 10/14/2006(UTC) Location: United States
Applause Given: 1,291 Applause Received: 900
|
I believe the software already has a password reset feature. If you logout, click 'Forgot Password' you should be stepped through that process. |
|
|
|
|
|
|
Rank: 4th Round Draft Pick
Posts: 861 Joined: 12/12/2007(UTC)
Applause Given: 12 Applause Received: 15
|
Originally Posted by: "  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 |
|
|
|
|
|
Rank: Most Valuable Player
Posts: 9,574 Joined: 8/8/2008(UTC)
Applause Given: 1,360 Applause Received: 720
|
Originally Posted by: "  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. |
One does not simply walk into Mordor. |
|
|
|
|
|
| Users browsing this topic |
|
Guest
|
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.