Re: [PHP] dealing with arrays

2003-08-27 Thread Curt Zirzow
* Thus wrote Ford, Mike [LSS] ([EMAIL PROTECTED]): > On 27 August 2003 04:22, Aris Santillan wrote: > > > I Have > > Entry One > > > > > > > > The way to combat this is to use explicit subscripts in your form field names, like > so: > > Entry One > > > I would also add

RE: [PHP] dealing with arrays

2003-08-27 Thread Ford, Mike [LSS]
On 27 August 2003 04:22, Aris Santillan wrote: > I Have > Entry One > > > > > Entry Two > > > > > Entry Three > > > > > Entry Four > > > > > Entry Five > > > > > . > > i want to process entries only with checked checkbox > > how can i do this in php? This happens anyway, as

Re: [PHP] dealing with arrays

2003-08-27 Thread CPT John W. Holmes
You need to name the elements a little differently. You're on the right track with making them an array, but if I check the third box, that'll make $check[0] = 1, and if I put in a name in the first box, that'll make $name[0] = 'John'... so you have no way of relating the name from "entry one" to t

Re: [PHP] dealing with arrays

2003-08-27 Thread Marek Kilimajer
Then you must include keys: and so on. This is needed bacause only checked checkboxes are send on submit. Aris Santillan wrote: hi I Have Entry One Entry Two Entry Three Entry Four Entry Five . i want to process entries only with checked checkbox how can i do this in php?