per inviare le variabili devi usare un form:

http://xhtml.html.it/guide/lezione/1...-del-tag-form/