[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:; 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? > > Tha

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 th

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. > >Steff

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 = document.getElementbyId("last

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 welcome,

[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 www.s