NEW
#81

Zero2Cool
Elite Member
Joined: Oct 14, 2006
Posts: 44,952

Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
"dhpackr""Zero2Cool""dhpackr"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.
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#82

Zero2Cool
Elite Member
Joined: Oct 14, 2006
Posts: 44,952

Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
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 ...
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.
I have it 95% completed.
Currently ...
- Members can submit picks.
Winners tabulated.
Main index displays descending order of correct picks.
Compilation of total picks tabulated accurately.
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.
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#83

Zero2Cool
Elite Member
Joined: Oct 14, 2006
Posts: 44,952

Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
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?
How to get a variable value displayed as a radio button option?
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#84

rabidgopher04
Member
Joined: Aug 07, 2008
Posts: 1,216

rabidgopher04
Member
Joined:Aug 07, 2008
Posts:1,216
"Zero2Cool"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.
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#85

Zero2Cool
Elite Member
Joined: Oct 14, 2006
Posts: 44,952

Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
Ahh, sweet. Thank you, I will have to look into that.
So, you know PHP coding fairly well, or better?
So, you know PHP coding fairly well, or better?
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#86

rabidgopher04
Member
Joined: Aug 07, 2008
Posts: 1,216

rabidgopher04
Member
Joined:Aug 07, 2008
Posts:1,216
"Zero2Cool"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.
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#87

dhpackr
Registered
Joined: Dec 12, 2007
Posts: 963

dhpackr
Registered
Joined:Dec 12, 2007
Posts:963
//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
<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
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#88

Zero2Cool
Elite Member
Joined: Oct 14, 2006
Posts: 44,952

Zero2Cool
Elite Member
Joined:Oct 14, 2006
Posts:44,952
I believe the software already has a password reset feature. If you logout, click 'Forgot Password' you should be stepped through that process.
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#89

dhpackr
Registered
Joined: Dec 12, 2007
Posts: 963

dhpackr
Registered
Joined:Dec 12, 2007
Posts:963
"Zero2Cool"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??
0
SlickVision, Methodikal, Kevin and 5 others
NEW
#90

wpr
Preferred Member
Joined: Aug 08, 2008
Posts: 20,215

wpr
Preferred Member
Joined:Aug 08, 2008
Posts:20,215
"Zero2Cool"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.
0
SlickVision, Methodikal, Kevin and 5 others