[thelist] PHP Hidden field question

David Dorward evolt at david.us-lot.org
Fri Dec 26 05:19:56 CST 2003

On Thu, 2003-12-25 at 18:51, Ken Moore wrote:
> I am certain that this is a simple queston for many but I have checked books 
> and on-line. What good is the "id=somename" part of the hidden field in PHP?

None whatsoever, the id *attribute* is for client side manipulation
(JavaScript, CSS, fragment identifiers in URIs, etc). It is the name
attribute that is used for submitting data to the server (where PHP
reads it).

David Dorward                                 <http://dorward.me.uk/>

More information about the thelist mailing list