note 30158 deleted from function.implode by sniper

From: Date: Wed, 08 Oct 2003 03:54:29 +0000
Subject: note 30158 deleted from function.implode by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-57993@lists.php.net to get a copy of this message
Note Submitter: ---- kode_nospam_hode at yahoo_nospam dot dk wrote: "None of these disadvantages should result in bad HTML-code, though. One should find another way to solve the problem." I just tested some of my code(which does use "[]" in the name of an object in a form) and "This Page Is Valid HTML 4.01 Transitional!" When I removed the Quotes, it invalidated the code, and said that any characters other than alphanmumerics and hypens and stuff must be enclosed in quotes. So doing name="selectname[]" is just fine, at least according to the W3C validator. http://validator.w3.org/

« previous php.notes (#57993) next »