|
Hi
Can someone help me here?
For example:
In mywebsite.com, I must select a country "spain" (websitespain.es) and choose a certain product with price between 100 euros and 200 euros that must open that range of product in that websitespain.es in other window.
I did this but does not work.
<table width="90%" height="150" border="1" cellspacing="0" cellpadding="0" >
<tr>
<td align="center">
<?
$array_countries = array(
"Finland",
"France",
"Ireland",
"Italy",
"Liechtenstein",
"Luxembourg",
"Spain",
);
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="10" align="center">
<?
echo '<form action="form_action.php" method="get"><font face="verdana" color="#000000" size="2"><b>Choose a country:</b></font><br><p><SELECT name=country>';
foreach ($array_countries as $key => $value)
{
echo '<OPTION value='.$value.'> '.$value.'';
}
echo '</select>';
?>
</td>
</tr>
<tr>
<td width="10" height="20"> </td>
</tr>
<tr>
<td height="10"> <p align="center">
<font face="verdana" color="#000000" size="2"><b>Price range between:</b></font></p>
</td>
</tr>
<tr>
<td height="50" align="center">
<font face="verdana" color="#000000" size="2"><b>€
<input type="text" size="10" /> and €<input type="text" size="10" /></b></font>
</td>
</tr>
<tr>
<td height="10" align="center">
</td>
</tr>
<tr>
<td align="center"><input type="submit" value="Submit" />
</td>
</tr>
</table>
|