[PHP] HowTo: Mutiple Radio Button Values

2002-07-31 Thread Shew
Hi - I'm a TOTAL php NEWBIE - my 1st bit of code!!!. Basically the input form page has 17 sets of radio buttons, each representing one game with 2 options - team 1 and team 2. What I want to do is a better way of checking each radio button value instead of using an if statement for each. This cod

[PHP] Re: Dynamically check radio buttons

2002-08-01 Thread Shew
OK, changed the subject to what I think it should be about. Anybody? "Shew" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi - I'm a TOTAL php NEWBIE - my 1st bit of code!!!. > > Basically the input form p

Re: [PHP] Re: Dynamically check radio buttons

2002-08-02 Thread Shew
Hey Mark, Thanks. I understand. I'm actually a Cold Fusion programmer. I've tried what you suggested but can't seem to get it work - code attached. However, I can display the radio button if I use the $_POST function. I'm not sure if it's the version of php I'm using. Stats - windows 2000 Sp1,

Re: [PHP] Re: Dynamically check radio buttons

2002-08-02 Thread Shew
Hi Kirk, Thanks. Never knew you could do that. I'll try it out. Shew "Kirk Johnson" <[EMAIL PROTECTED]> wrote in message 01A4B59FD1EBD311838100A0C98BE0D9023C49D1@chef">news:01A4B59FD1EBD311838100A0C98BE0D9023C49D1@chef... > If you made an array for your b

[PHP] date brain teaser

2003-10-02 Thread Shew
Hi, I'm trying to find a formula for displaying the date for every Friday of a given year, i.e. 2003 Jan 3, 2003 Jan 10, 2003 Jan 17, 2003 etc. Any ideas? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] date brain teaser [fix]

2003-10-02 Thread Shew
Hi Justin, Most Xcellent. Thanks alot!!! Shew "J Morton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sorry I had a parentheses out of place, it should have been: > > $this_date = "1/1/2003"; > > for($i=1; $i<=365; $i++) { >