Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send DATA to URL on Next Page

Status
Not open for further replies.

ITGL72

MIS
Jul 2, 2001
105
0
0
US
What I need to figure out here is how to get a number inputed on a page with a one line form to show up on the next page up in the URL.

For example.

PAGE1 a user enters the number 12345 in a one line form and clicks submit.

...after clicking submit PAGE2 comes up

PAGE2 has the URL
I usually just post to a form with no trouble but in this case I dont remember how to get the form data into the URL.

Thanks!
 
Hi,

that depends on your FORM tag:

<FORM ACTION=&quot;<PAGE2>&quot; METHOD=GET>

In your case you will have to set the METHOD to GET and you should see the value in your URL. Setting it to POST will send the values in the body of the submission (you will not see them).


cheers

frag

patrick.metz@epost.de
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top