[thelist] input type="image" value not being passed in IE6/XP

Kasimir K evolt at kasimir-k.fi
Wed Nov 24 09:02:52 CST 2004



john at johnallsopp.co.uk wrote on 2004-11-24 12:10:
> I've a form with an input type="image", a value, and a name:
...
> According to the W3C 'value' is optional in this case. Does that mean
> it's optional to us as developers, or it's optional whether the
> browsers support it?

Optinal for the browsers (user agents).

> And if 'value' isn't supported, I can't even seem to get PHP to work
> with those p.x type values. Using (isset($_GET["p.x"])) doesn't seem
> to work.

PHP converts teh dots to underscores[0] , so use
(isset($_GET["p_x"]))

.k

[0] 
http://www.php.net/manual/en/language.variables.external.php#language.variables.external.form.submit



More information about the thelist mailing list