Hi there I have this Problem my code is like this:
<form name="form1" method="post"action=<? $PHP_SELF ?>>
<p><b>Busqueda: </b>
<input type="text" name="buscar" >
<select name="select">
<?
//prints my array in option
for($j=0;$j<5;$j++)
{
echo"<option>";
echo$i[$j][0];
echo$i[$j][1];
echo"</option>";
}
?>
</select>
<input type="submit" name="submit" value="Buscar">
</p>
</form>
How can I print the value I selected I mean I want to print $i[$j][0].
Thanx in advance.