How to send two data in url on same parameter ?
Posted: Mon Sep 02, 2013 10:57 am
Hi guys,
I'm new out here...
I need help to resolve something that I dont know how to do it.
My request is the following :
From a html Form, how to send two data in url on same parameter ?
I meant from the HTML Form, I have one drop down menu where I can select site or anything and a text field
So my question is how to send data from my drop down menu and data from test field ?
As such as :
&q={date from text field} {data from drop down menu}
In below my form :
I m looking for PHP instruction Or Javascript, more with PHP
Here my site test :
http://jeremy.lin.free.fr/test.php
Thank you guys for your help
I'm new out here...
I need help to resolve something that I dont know how to do it.
My request is the following :
From a html Form, how to send two data in url on same parameter ?
I meant from the HTML Form, I have one drop down menu where I can select site or anything and a text field
So my question is how to send data from my drop down menu and data from test field ?
As such as :
&q={date from text field} {data from drop down menu}
In below my form :
Code: Select all
<form action="test.php" method="get">
<input type="hidden" name="cx" value="001921177962244596439:oqp21af-c3g" />
<input type="hidden" name="cof" value="FORID:9" />
<input type="text" name="q" id="cse_search" class="cadr11FR" size="30" value=""/> Dans
<select name="q">
<option>Select...</option>
<option>site:www.slamonline.com</option>
<option>site:www.dimemag.com</option>
<option>site:www.ncaa.com</option>
<option>site:www.nfl.com</option>
<option>site:www.nbcsports.com</option>
<option>site:www.cbssports.com</option>
<option>site:espn.go.com</option>
<option>site:www.fiba.com</option>
<option>site:www.nba.com</option>
<option>site:msn.foxsports.com</option>
<option>site:www.themarsreel.com</option>
<option>site:sports.yahoocom</option>
</select>
<input type="submit" value="Submit" />
</form>
Here my site test :
http://jeremy.lin.free.fr/test.php
Thank you guys for your help