-Original Message-
From: Roland Tarver [mailto:[EMAIL PROTECTED]
Sent: 28 May 2003 10:07
I've got a question about about naming html components (text fields,
select boxes etc) when submitting a form to a php page.
First I tried identifying an element using the id attribute
and
Hi
I've got a question about about naming html components (text fields,
select boxes etc) when submitting a form to a php page.
First I tried identifying an element using the id attribute and found
that it was not being posted to the php page. When I use the name
attribute it did get posted to
PHP uses only the 'name' attribute of an element to assign the variable to.
You can use 'id' and 'name' together, but the two are different, for instance no two form
elements should have the same 'id', but depending on multiform pages with similar inputs,
an identical 'name' attribute could be
3 matches
Mail list logo