Control GET data ( not php related )
| From: | Thomas Munz | Date: | Wed, 07 Jun 2006 10:36:41 +0000 |
| Subject: | Control GET data ( not php related ) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-237547@lists.php.net to get a copy of this message | ||
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 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