Hi all
I'm having difficulity submitting the variables from 2 forms in one query string.
This is address after form 1 submit button is clicked:
http://webserver/search?minage=18&maxage=99
and the address I want after the second page is submitted is:
http://webserver/search?minage=18&maxage=99$FirstName=John&LastName=Brown
Here is a simplified example of the code I have in both forms (the actual code has many and varying amounts of variables). I also need to use the GET method.
Form 1
<form method=GET name=custom_search action="/search.php">
<input type=text name=minage size=5 maxlength=2 value="18"> to <input type=text name=maxage size=5 maxlength=2 value="99">
<input type=image border=0 src="/images/send.gif" width=114 height=25 name="Submit" value="Submit" align=top>
</Form>
Form 2
<?php
$Form1Vars = $QUERY_STRING;
?>
<form method=GET name=custom_search action="/search.php<?echo("$Form1Vars");?>">
<input type=text name=FirstName size=32 maxlength=32> to <input type=text name=LastName size=32 maxlength=32>
<input type=image border=0 src="/images/send.gif" width=114 height=25 name="Submit" value="Submit" align=top>
</Form>
Thanks for you help in advance.
Wayne