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 buttons, then you could use PHP's looping

RE: [PHP] Re: Dynamically check radio buttons

2002-08-02 Thread Mark Middleton
Shew, http://www.whirledweb.com/phptest/InsertPicks3.php It looks like the issue here is Capitalization. PHP is very capitalization sensative. (which I believe that Cold Fusion is less picky about) And your code looks great, save a couple little issues that may have made it even more confusing.

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-01 Thread Johnson, Kirk
If you made an array for your buttons, then you could use PHP's looping constructs to process the array. Write the input tag like this: Chicago The processing code will then have access to the array $Game indexed by the game number, e.g., $Game[1]. Good luck! Kirk > -Original Message

RE: [PHP] Re: Dynamically check radio buttons

2002-08-01 Thread Mark Middleton
It looks like your code could use "variable variables" to help you out. ::: OLD CODE > > for ($GameIdx = 1; $GameIdx <= 17; $GameIdx++) { > > /* instead "hardcoding each radio button name - just do it > programmatically > > by concatenating / creating the name */ > > $