Hi
I'm trying to make a search array but I really do not know how.
The objective is to open in one new window diferent "website#1.com" that shows a list of "productname" that falls into a certain price range.
I've made this so far, but I think something is wrong....
HTML Code:
<table width="90%" height="150" border="1" cellspacing="0" cellpadding="0" >
<tr>
<td align="center">
<?
$array_countries = array(
"Afghanistan",
"Albania",
"Algeria",
"Andorra",
... and so on...
);
?>
<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>
</td>
</tr>
</table>
</td>
</tr>
</table>
Is there somebody to help me here?
thanks
Last edited by chrishirst; 11-30-2009 at 04:06 PM..
|