Re: [PHP] Re: Dynamically Created Checkboxes

2011-02-24 Thread Gary
"Steve Staples" wrote in message news:1298570683.14826.2438.camel@webdev01... > On Thu, 2011-02-24 at 12:52 -0500, Gary wrote: >> "Steve Staples" wrote in message >> news:1298568238.14826.2431.camel@webdev01... >> > On Thu, 2011-02-24 at 11:42 -0500, Gary wrote: >> >> "Steve Staples" wrote in

Re: [PHP] Re: Dynamically Created Checkboxes

2011-02-24 Thread Steve Staples
On Thu, 2011-02-24 at 12:52 -0500, Gary wrote: > "Steve Staples" wrote in message > news:1298568238.14826.2431.camel@webdev01... > > On Thu, 2011-02-24 at 11:42 -0500, Gary wrote: > >> "Steve Staples" wrote in message > >> news:1298492194.14826.2425.camel@webdev01... > >> > On Wed, 2011-02-23 at

Re: [PHP] Re: Dynamically Created Checkboxes

2011-02-24 Thread Gary
"Steve Staples" wrote in message news:1298568238.14826.2431.camel@webdev01... > On Thu, 2011-02-24 at 11:42 -0500, Gary wrote: >> "Steve Staples" wrote in message >> news:1298492194.14826.2425.camel@webdev01... >> > On Wed, 2011-02-23 at 14:56 -0500, Gary wrote: >> >> "Steve Staples" wrote in

Re: [PHP] Re: Dynamically Created Checkboxes

2011-02-24 Thread Steve Staples
On Thu, 2011-02-24 at 11:42 -0500, Gary wrote: > "Steve Staples" wrote in message > news:1298492194.14826.2425.camel@webdev01... > > On Wed, 2011-02-23 at 14:56 -0500, Gary wrote: > >> "Steve Staples" wrote in message > >> news:1298490417.14826.2418.camel@webdev01... > >> > On Wed, 2011-02-23 at

Re: [PHP] Re: Dynamically Created Checkboxes

2011-02-24 Thread Gary
"Steve Staples" wrote in message news:1298492194.14826.2425.camel@webdev01... > On Wed, 2011-02-23 at 14:56 -0500, Gary wrote: >> "Steve Staples" wrote in message >> news:1298490417.14826.2418.camel@webdev01... >> > On Wed, 2011-02-23 at 14:17 -0500, Gary wrote: >> >> "Jim Lucas" wrote in mess

Re: [PHP] Re: Dynamically Created Checkboxes

2011-02-23 Thread Steve Staples
On Wed, 2011-02-23 at 14:56 -0500, Gary wrote: > "Steve Staples" wrote in message > news:1298490417.14826.2418.camel@webdev01... > > On Wed, 2011-02-23 at 14:17 -0500, Gary wrote: > >> "Jim Lucas" wrote in message > >> news:4d653673.7040...@cmsws.com... > >> > On 2/23/2011 4:35 AM, Gary wrote: >

Re: [PHP] Re: Dynamically Created Checkboxes

2011-02-23 Thread Gary
"Steve Staples" wrote in message news:1298490417.14826.2418.camel@webdev01... > On Wed, 2011-02-23 at 14:17 -0500, Gary wrote: >> "Jim Lucas" wrote in message >> news:4d653673.7040...@cmsws.com... >> > On 2/23/2011 4:35 AM, Gary wrote: >> >> "Pete Ford" wrote in message >> >> news:62.c1.32612.

Re: [PHP] Re: Dynamically Created Checkboxes

2011-02-23 Thread Steve Staples
On Wed, 2011-02-23 at 14:17 -0500, Gary wrote: > "Jim Lucas" wrote in message > news:4d653673.7040...@cmsws.com... > > On 2/23/2011 4:35 AM, Gary wrote: > >> "Pete Ford" wrote in message > >> news:62.c1.32612.d49d4...@pb1.pair.com... > >>> This bit? > >>> > >>> On 22/02/11 22:06, Gary wrote: > >

Re: [PHP] Re: Dynamically Created Checkboxes

2011-02-23 Thread Gary
"Jim Lucas" wrote in message news:4d653673.7040...@cmsws.com... > On 2/23/2011 4:35 AM, Gary wrote: >> "Pete Ford" wrote in message >> news:62.c1.32612.d49d4...@pb1.pair.com... >>> This bit? >>> >>> On 22/02/11 22:06, Gary wrote: for($i=1; $i<=$_POST['counties']; $i++) { if ( isset($_

Re: [PHP] Re: Dynamically Created Checkboxes

2011-02-23 Thread Gary
"Jim Lucas" wrote in message news:4d653673.7040...@cmsws.com... > On 2/23/2011 4:35 AM, Gary wrote: >> "Pete Ford" wrote in message >> news:62.c1.32612.d49d4...@pb1.pair.com... >>> This bit? >>> >>> On 22/02/11 22:06, Gary wrote: for($i=1; $i<=$_POST['counties']; $i++) { if ( isset($_

Re: [PHP] Re: Dynamically Created Checkboxes

2011-02-23 Thread Jim Lucas
On 2/23/2011 4:35 AM, Gary wrote: > "Pete Ford" wrote in message > news:62.c1.32612.d49d4...@pb1.pair.com... >> This bit? >> >> On 22/02/11 22:06, Gary wrote: >>> for($i=1; $i<=$_POST['counties']; $i++) { >>> if ( isset($_POST["county{$i}"] ) ) { >> >> You loop over $_POST['counties'] and look fo

[PHP] Re: Dynamically Created Checkboxes

2011-02-23 Thread Gary
"Pete Ford" wrote in message news:62.c1.32612.d49d4...@pb1.pair.com... > This bit? > > On 22/02/11 22:06, Gary wrote: >> for($i=1; $i<=$_POST['counties']; $i++) { >> if ( isset($_POST["county{$i}"] ) ) { > > You loop over $_POST['counties'] and look for $_POST["county$i"] > > I suspect that ther

[PHP] Re: Dynamically Created Checkboxes

2011-02-23 Thread Pete Ford
This bit? On 22/02/11 22:06, Gary wrote: for($i=1; $i<=$_POST['counties']; $i++) { if ( isset($_POST["county{$i}"] ) ) { You loop over $_POST['counties'] and look for $_POST["county$i"] I suspect that there is no field 'counties' in your form, so the server is complaining about the missing i