Re: [PHP] php processing name vs. id field

2010-07-02 Thread Peter Lind
On 2 July 2010 20:03, Adam Richardson wrote: > On Fri, Jul 2, 2010 at 1:59 PM, Peter Lind wrote: > >> On 2 July 2010 19:52, Adam Richardson wrote: >> > On Fri, Jul 2, 2010 at 12:28 PM, wrote: >> > >> >> "Bob McConnell" wrote on 07/02/2010 08:53:30 AM: >> >> >> >> > > Arguments against using/di

Re: [PHP] php processing name vs. id field

2010-07-02 Thread Adam Richardson
On Fri, Jul 2, 2010 at 1:59 PM, Peter Lind wrote: > On 2 July 2010 19:52, Adam Richardson wrote: > > On Fri, Jul 2, 2010 at 12:28 PM, wrote: > > > >> "Bob McConnell" wrote on 07/02/2010 08:53:30 AM: > >> > >> > > Arguments against using/dismissing the "name" attribute in tags is > >> > > simpl

Re: [PHP] php processing name vs. id field

2010-07-02 Thread Peter Lind
On 2 July 2010 19:52, Adam Richardson wrote: > On Fri, Jul 2, 2010 at 12:28 PM, wrote: > >> "Bob McConnell" wrote on 07/02/2010 08:53:30 AM: >> >> > > Arguments against using/dismissing the "name" attribute in tags is >> > > simply nonsense. >> > >> > This discussion began when I pointed out tha

Re: [PHP] php processing name vs. id field

2010-07-02 Thread Adam Richardson
On Fri, Jul 2, 2010 at 12:28 PM, wrote: > "Bob McConnell" wrote on 07/02/2010 08:53:30 AM: > > > > Arguments against using/dismissing the "name" attribute in tags is > > > simply nonsense. > > > > This discussion began when I pointed out that the name attribute is > > deprecated in XHTML. This w

RE: [PHP] php processing name vs. id field

2010-07-02 Thread Kirk . Johnson
"Bob McConnell" wrote on 07/02/2010 08:53:30 AM: > > Arguments against using/dismissing the "name" attribute in tags is > > simply nonsense. > > This discussion began when I pointed out that the name attribute is > deprecated in XHTML. This was later confirmed when someone pointed to > the actu

RE: [PHP] php processing name vs. id field

2010-07-02 Thread Bob McConnell
From: tedd > At 10:53 AM -0400 7/2/10, Bob McConnell wrote: > >This discussion began when I pointed out that the name attribute is > >deprecated in XHTML. This was later confirmed when someone pointed to > >the actual specification at , however > >there may be some co

RE: [PHP] php processing name vs. id field

2010-07-02 Thread tedd
At 10:53 AM -0400 7/2/10, Bob McConnell wrote: This discussion began when I pointed out that the name attribute is deprecated in XHTML. This was later confirmed when someone pointed to the actual specification at , however there may be some confusion about the scope

RE: [PHP] php processing name vs. id field

2010-07-02 Thread tedd
At 8:49 AM -0400 7/2/10, Bob McConnell wrote: These conditions sound like a bugs to me. I can't imagine any reason why different forms could have the same name or id Bob: No offense, but duh! I can imagine, try this: The first form asks for the user's email address. The input statement has

RE: [PHP] php processing name vs. id field

2010-07-02 Thread Bob McConnell
From: tedd > >At 2:01 PM +0100 7/2/10, Ashley Sheridan wrote: > -snip- > > I agree with Ash 100%. > > There is an "id" and a "name" attribute for input (et al) tags -- that's html. ... > So, what's the major beef here? Is someone objecting to having both > "id" and "name" being legal attribut

RE: [PHP] php processing name vs. id field

2010-07-02 Thread tedd
At 2:01 PM +0100 7/2/10, Ashley Sheridan wrote: -snip- I agree with Ash 100%. There is an "id" and a "name" attribute for input (et al) tags -- that's html. I can use the attribute "name" for php and the attribute "id" for javascript and css because these are different languages with differe

Re: [PHP] php processing name vs. id field

2010-07-02 Thread Peter Lind
On 2 July 2010 15:01, Ashley Sheridan wrote: > On Fri, 2010-07-02 at 08:49 -0400, Bob McConnell wrote: > >> From: Ashley Sheridan >> >> > Not sure if my other email got through earlier. Replacing the name >> > attribute on form fields with the id one is not feasible at all. They >> > don't even be

RE: [PHP] php processing name vs. id field

2010-07-02 Thread Ashley Sheridan
On Fri, 2010-07-02 at 08:49 -0400, Bob McConnell wrote: > From: Ashley Sheridan > > > Not sure if my other email got through earlier. Replacing the name > > attribute on form fields with the id one is not feasible at all. They > > don't even behave the same. What would happen if you had two forms

RE: [PHP] php processing name vs. id field

2010-07-02 Thread Bob McConnell
From: Ashley Sheridan > Not sure if my other email got through earlier. Replacing the name > attribute on form fields with the id one is not feasible at all. They > don't even behave the same. What would happen if you had two forms on a > page that both had an element with the same name? Using the

Re: [PHP] php processing name vs. id field

2010-07-01 Thread Ashley Sheridan
On Thu, 2010-07-01 at 10:19 -0400, Paul M Foster wrote: > On Thu, Jul 01, 2010 at 03:40:56PM +0200, Peter Lind wrote: > > > > > Apart from that, html5 is not going to do away with the name > > attribute. And name is in xhtml1 and html4.01 and there's no mention > > of it being obsolete, deprec

Re: [PHP] php processing name vs. id field

2010-07-01 Thread Paul M Foster
On Thu, Jul 01, 2010 at 03:40:56PM +0200, Peter Lind wrote: > Apart from that, html5 is not going to do away with the name > attribute. And name is in xhtml1 and html4.01 and there's no mention > of it being obsolete, deprecated or in any other fashion on the way > out. > > As far as reference

Re: [PHP] php processing name vs. id field

2010-07-01 Thread Peter Lind
On 1 July 2010 15:28, Peter Lind wrote: > On 1 July 2010 15:02, Bob McConnell wrote: >> From: Peter Lind >> >>> On 1 July 2010 14:38, Bob McConnell wrote: From: Adam Richardson > On Wed, Jun 30, 2010 at 9:16 PM, David Mehler >> wrote: > >> Hello, >> I've got a php

Re: [PHP] php processing name vs. id field

2010-07-01 Thread Peter Lind
On 1 July 2010 15:02, Bob McConnell wrote: > From: Peter Lind > >> On 1 July 2010 14:38, Bob McConnell wrote: >>> From: Adam Richardson >>> On Wed, Jun 30, 2010 at 9:16 PM, David Mehler > >>> wrote: > Hello, > I've got a php form processing question. I've got a text field like

RE: [PHP] php processing name vs. id field

2010-07-01 Thread Bob McConnell
From: Peter Lind > On 1 July 2010 14:38, Bob McConnell wrote: >> From: Adam Richardson >> >>> On Wed, Jun 30, 2010 at 9:16 PM, David Mehler >> wrote: >>> Hello, I've got a php form processing question. I've got a text field like >> so: Name*: My q

Re: [PHP] php processing name vs. id field

2010-07-01 Thread Peter Lind
On 1 July 2010 14:38, Bob McConnell wrote: > From: Adam Richardson > >> On Wed, Jun 30, 2010 at 9:16 PM, David Mehler > wrote: >> >>> Hello, >>> I've got a php form processing question. I've got a text field like > so: >>> >>> >>> Name*: >>> >>> >>> >>> My question is what is the purpose of t

RE: [PHP] php processing name vs. id field

2010-07-01 Thread Bob McConnell
From: Adam Richardson > On Wed, Jun 30, 2010 at 9:16 PM, David Mehler wrote: > >> Hello, >> I've got a php form processing question. I've got a text field like so: >> >> >> Name*: >> >> >> >> My question is what is the purpose of the id field? I know the name >> field is what php references,

Re: [PHP] php processing name vs. id field

2010-06-30 Thread Adam Richardson
On Wed, Jun 30, 2010 at 9:16 PM, David Mehler wrote: > Hello, > I've got a php form processing question. I've got a text field like so: > > > Name*: > > > > My question is what is the purpose of the id field? I know the name > field is what php references, but am not sure what id is for? > Th

[PHP] php processing name vs. id field

2010-06-30 Thread David Mehler
Hello, I've got a php form processing question. I've got a text field like so: Name*: My question is what is the purpose of the id field? I know the name field is what php references, but am not sure what id is for? Thanks. Dave. -- PHP General Mailing List (http://www.php.net/) To unsubscr