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
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
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
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 =
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
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
6 matches
Mail list logo