Something I've noticed in PHP is a proliferation of code like this:

        <input name="stuff[title]" value="" type="text" size="40">

According to the specs, the square brackets in "stuff[title]" are
technically illegal.

        http://www.w3.org/TR/html4/types.html#h-6.2

        ID and NAME tokens must begin with a letter ([A-Za-z]) and may
        be followed by any number of letters, digits ([0-9]), hyphens
        ("-"), underscores ("_"), colons (":"), and periods (".").

Thoughts?  Suggestions for writing flexible PHP code that at least
passes the HTML 4.01 Transitional DTD?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to