[PHP] Control GET data ( not php related )

2006-06-07 Thread Thomas Munz
Thats not PHP related. Its normal HTML/JS 2 Ways: 1) Make form to use 1 field:; form method=GET action=file.php input name=name type=text / /form 2) Use JS to manipulate the target url dynamicaly on Wednesday 07 June 2006 21:20, Steffen Mazanek wrote: Hello, I want to provide two input

[PHP] Control GET data

2006-06-06 Thread Steffen Mazanek
Hello, I want to provide two input text fields lastname and firstname and if the user pushes the submit button the generated url should be ...?name=firstname_lastname. Is this possible and how? Thank you for helping a php newbie. Steffen Mazanek -- Hermann-Löns-Straße 3 53840 Troisdorf

Re: [PHP] Control GET data

2006-06-06 Thread John Nichel
Steffen Mazanek wrote: Hello, I want to provide two input text fields lastname and firstname and if the user pushes the submit button the generated url should be ...?name=firstname_lastname. Is this possible and how? Yes and JavaScript Thank you for helping a php newbie. You're

Re: [PHP] Control GET data

2006-06-06 Thread Brad Bonkoski
Why are you forcing the input into the GET variable or the URL string? Why not just use the post from the form variable?? As for you question... the answer is yes: make the submit button a button and onclick=javascript_function() Javascript_function() { val1 =

Re: [PHP] Control GET data

2006-06-06 Thread tedd
At 9:20 PM +0200 6/7/06, Steffen Mazanek wrote: Hello, I want to provide two input text fields lastname and firstname and if the user pushes the submit button the generated url should be ...?name=firstname_lastname. Is this possible and how? Thank you for helping a php newbie. Steffen Mazanek

Re: [PHP] Control GET data

2006-06-06 Thread Richard Lynch
On Tue, June 6, 2006 4:55 pm, tedd wrote: At 9:20 PM +0200 6/7/06, Steffen Mazanek wrote: I want to provide two input text fields lastname and firstname and if the user pushes the submit button the generated url should be ...?name=firstname_lastname. Is this possible and how? I think all the