See CGI 101 which has simple examples. Your original code prints output before header which is no doubt going to cause you problems.
In reply to Re^3: html input value
by hippo
in thread html input value
by bgblue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |