On Fri, 5 Aug 2005 12:26:48 -0600, "Michael G" <mi****@montana.com> wrote:
I am really struggling with using form control names such as "gs[]". This
will not valid but is tremendously useful in terms of the way that it is
handled by php on the server.
What makes you think it is not valid? I just tried submitting an example to
the W3 validator and it accepted it as valid XHTML 1.0 Strict.
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Test</title>
</head>
<body>
<form method="get" action="test.html">
<fieldset>
<input type="text" name="gs[]" value="1" />
<input type="text" name="gs[]" value="2" />
<input type="text" name="gs[]" value="3" />
<input type="submit" />
</fieldset>
</form>
</body>
</html>
--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool