Hi Everyone
I just started to learn PHP and coding and stuff :o ... an I want to ask this
I have easy form made from few select (dropdown) options where people can choose attributes they want to search later on. All I need is to put those options together and to php file send just one line of text "New Red". So how can I put those two attributes together?
here is the script:
<form name="myform" action="/search.php">
<p>Search:
<select name="Atribute1">
<option value="any" selected="selected">Any</option>
<option value="New">New</option>
<option value="Old">Old</option>
</select>
<select name="Atribute2">
<option value="any" selected="selected">Any</option>
<option value="Red">Red</option>
<option value="Blue">Blue</option>
</select>
<br>
<a href="javascript: submitform()">Search</A> </p>
</form>
<SCRIPT language="JavaScript">
function submitform()
{
document.myform.submit();
}
</SCRIPT>
this is what I need to get ".../search.php?xSearch=New+Red"