You need to put your controls under the
<form>
element. It needs to have the attribute
action
with the value of your URL used to post HTTP request. If you want to submit data, the attribute
method
should be
method="post"
.
On submit button (input element's type "submit") the data will be sent according to the values of the controls; the data is sent in key-value pairs, and the
name
attributes of controls will be used as keys.
Please see:
http://www.w3schools.com/tags/tag_form.asp[
^],
http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods[
^].
[EDIT]
Your code sample, in input elements, does not show any attributes
name="name"
.
They don't have any name attributes at all, but only name attributes are used by the browsers as key in HTTP request. You should have some unique values (per form) in each element:
name="name"
,
name="address"
,
name="telephone"
, etc.
—SA