Re: [PHP] Re: sloppiness stupidity

2009-06-18 Thread Nisse Engström
On Wed, 17 Jun 2009 22:51:55 +0100, Ashley Sheridan wrote: I read somewhere that the XHTML standards say that for all attributes that would normally be standalone in HTML, they should be given a value that is the same as the attribute name, so you would use multiple=multiple,

Re: [PHP] Re: sloppiness stupidity

2009-06-18 Thread Nisse Engström
On Wed, 17 Jun 2009 18:59:36 -0400, tedd wrote: As I understand it and is my experience, that is true -- a stand-alone HTML attribute should be equal to itself, such as selected=selected, or In HTML (as opposed to XHTML), there are a bunch of shortcut features[1] that allow you to write

RE: [PHP] Re: sloppiness stupidity

2009-06-18 Thread Ford, Mike
On 17 June 2009 22:05, Nisse Engström advised: On Wed, 17 Jun 2009 10:18:09 +0100, Ford, Mike wrote: This is very true -- but XHTML requires *all* attributes to have a value, so an XHTML conformant page will use select multiple=multiple name=selector (or something similar such as select

RE: [PHP] Re: sloppiness stupidity

2009-06-18 Thread Ford, Mike
On 17 June 2009 23:56, PJ advised: Nisse Engström wrote: On Wed, 17 Jun 2009 10:18:09 +0100, Ford, Mike wrote: This is very true -- but XHTML requires *all* attributes to have a value, so an XHTML conformant page will use select multiple=multiple name=selector (or something similar such

Re: [PHP] Re: sloppiness stupidity

2009-06-18 Thread PJ
Ford, Mike wrote: On 17 June 2009 23:56, PJ advised: Nisse Engstr�m wrote: On Wed, 17 Jun 2009 10:18:09 +0100, Ford, Mike wrote: This is very true -- but XHTML requires *all* attributes to have a value, so an XHTML conformant page will use select multiple=multiple

Re: [PHP] Re: sloppiness stupidity

2009-06-18 Thread tedd
At 8:47 PM -0400 6/17/09, Robert Cummings wrote: tedd wrote: As I understand it and is my experience, that is true -- a stand-alone HTML attribute should be equal to itself, such as selected=selected, or more specifically selected=SELECTED. How is that MORE specific? XHTML is like a

Re: [PHP] Re: sloppiness stupidity

2009-06-18 Thread Robert Cummings
tedd wrote: At 8:47 PM -0400 6/17/09, Robert Cummings wrote: tedd wrote: As I understand it and is my experience, that is true -- a stand-alone HTML attribute should be equal to itself, such as selected=selected, or more specifically selected=SELECTED. How is that MORE specific? XHTML is like

RE: [PHP] Re: sloppiness stupidity

2009-06-17 Thread Ford, Mike
On 17 June 2009 02:11, Shawn McKenzie advised: PJ wrote: I'm sorry, guys, but I am really getting po'd. The irresponsible sloppiness and stupidity is just getting to me. In my quest for a way to populate a multiple option select box I have run across so many errors that it's beyond belief...

Re: [PHP] Re: sloppiness stupidity

2009-06-17 Thread Nisse Engström
On Wed, 17 Jun 2009 10:18:09 +0100, Ford, Mike wrote: This is very true -- but XHTML requires *all* attributes to have a value, so an XHTML conformant page will use select multiple=multiple name=selector (or something similar such as select multiple=yes name=selector). The only inconsistency

Re: [PHP] Re: sloppiness stupidity

2009-06-17 Thread Ashley Sheridan
On Wed, 2009-06-17 at 23:05 +0200, Nisse Engström wrote: On Wed, 17 Jun 2009 10:18:09 +0100, Ford, Mike wrote: This is very true -- but XHTML requires *all* attributes to have a value, so an XHTML conformant page will use select multiple=multiple name=selector (or something similar such

Re: [PHP] Re: sloppiness stupidity

2009-06-17 Thread PJ
Nisse Engström wrote: On Wed, 17 Jun 2009 10:18:09 +0100, Ford, Mike wrote: This is very true -- but XHTML requires *all* attributes to have a value, so an XHTML conformant page will use select multiple=multiple name=selector (or something similar such as select multiple=yes

Re: [PHP] Re: sloppiness stupidity

2009-06-17 Thread tedd
At 10:51 PM +0100 6/17/09, Ashley Sheridan wrote: On Wed, 2009-06-17 at 23:05 +0200, Nisse Engström wrote: On Wed, 17 Jun 2009 10:18:09 +0100, Ford, Mike wrote: This is very true -- but XHTML requires *all* attributes to have a value, so an XHTML conformant page will use select

Re: [PHP] Re: sloppiness stupidity

2009-06-17 Thread Ashley Sheridan
On Wed, 2009-06-17 at 18:59 -0400, tedd wrote: At 10:51 PM +0100 6/17/09, Ashley Sheridan wrote: On Wed, 2009-06-17 at 23:05 +0200, Nisse Engström wrote: On Wed, 17 Jun 2009 10:18:09 +0100, Ford, Mike wrote: This is very true -- but XHTML requires *all* attributes to have a value,

Re: [PHP] Re: sloppiness stupidity

2009-06-17 Thread LinuxManMikeC
I don't know what validator you're using, but according to http://validator.w3.org/ (as official as it gets) the following fragment is correct in HTML 4.01, HTML 5, XHTML 1.0 Strict, and XHTML 1.1: select option selected=selectedtest/option /select Thus sayeth the W3C, so let it be written, so

Re: [PHP] Re: sloppiness stupidity

2009-06-17 Thread Michael A. Peters
Ford, Mike wrote: On 17 June 2009 02:11, Shawn McKenzie advised: PJ wrote: I'm sorry, guys, but I am really getting po'd. The irresponsible sloppiness and stupidity is just getting to me. In my quest for a way to populate a multiple option select box I have run across so many errors that it's

Re: [PHP] Re: sloppiness stupidity

2009-06-17 Thread Robert Cummings
tedd wrote: At 10:51 PM +0100 6/17/09, Ashley Sheridan wrote: On Wed, 2009-06-17 at 23:05 +0200, Nisse Engström wrote: On Wed, 17 Jun 2009 10:18:09 +0100, Ford, Mike wrote: This is very true -- but XHTML requires *all* attributes to have a value, so an XHTML conformant page will use

Re: [PHP] Re: sloppiness stupidity

2009-06-17 Thread Michael A. Peters
Robert Cummings wrote: Ash: As I understand it and is my experience, that is true -- a stand-alone HTML attribute should be equal to itself, such as selected=selected, or more specifically selected=SELECTED. How is that MORE specific? XHTML is like a cross-section of XML and HTML. It is

Re: [PHP] Re: sloppiness stupidity

2009-06-17 Thread Robert Cummings
Michael A. Peters wrote: Robert Cummings wrote: Ash: As I understand it and is my experience, that is true -- a stand-alone HTML attribute should be equal to itself, such as selected=selected, or more specifically selected=SELECTED. How is that MORE specific? XHTML is like a

RE: [PHP] Re: sloppiness stupidity

2009-06-16 Thread HallMarc Websites
-Original Message- From: Shawn McKenzie [mailto:nos...@mckenzies.net] Sent: Tuesday, June 16, 2009 9:11 PM To: php-general@lists.php.net Subject: [PHP] Re: sloppiness stupidity PJ wrote: I'm sorry, guys, but I am really getting po'd. The irresponsible sloppiness and