Page 1 of 1

How TO

Posted: Mon Mar 01, 2010 10:40 pm
by zzarzzur12
i wonder how do you have a page where there is 2 edit boxes and a user types something in and when they hit submit it takes them to a url with the same text they put in
example.

________________________ ________________________ Submit
Edit Box Name= "Fav Food" Edit Box Name= "Age" Submit Button


Fav Food = Pizza Age = 101

and then when hitting submit it takes you to a url like
http://www.test.com/favfood/pizza/age/101/

is that possible if so how please post the code and upload an example that works

Re: How TO

Posted: Mon Mar 01, 2010 11:02 pm
by requinix
You have to redirect the browser.

The form will submit to some PHP page like normal. In it, you redirect to the URL you want. In most cases the user won't even know the redirect happened.

Re: How TO

Posted: Sat Mar 06, 2010 7:28 pm
by zzarzzur12
i took a look at that and i understand it better but do you know the code for retrieving something that was posted