Re: Forms...
| From: | Jochem Maas | Date: | Thu, 10 Mar 2005 12:00:43 +0000 |
| Subject: | Re: Forms... | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-38852@lists.php.net to get a copy of this message | ||
Neil Smith [MVP, Digital media] wrote:
At 07:52 10/03/2005 +0000, you wrote:true, yeah I added an extra value attr. wasn't paying enought attention.Message-ID: <422F5080.7020706@iamjochem.com> Date: Wed, 09 Mar 2005 20:37:36 +0100 From: Jochem Maas <jochem@iamjochem.com> if your into XHTML: <input name="right_eye" type="checkbox" value="1" checked="checked" value="1" />Actually that's invalid XHTML (it won't validate) due to a typo I guess.
Each XML (aka XHTML) DOM element can only have a ~single~ attribute with a particular name. The typo above has two copies if the 'value' attribute which would prevent the XHTML being valid XML. HTH Cheers - Neil