My problem is resolved, thx for your help !!!!
I resolved adding php in the tag <?php ?>
Now i have other little thing, when i open the page as part of other page, using include(), the data doesn't appear in the Combobox, the value of the field appears as test in the page.
Why this occur ??
Here the code again:
<?php
echo "<html>";
echo "<head>";
echo "<title>Consulta por Instituci&on</title>";
echo "<body>";
$link = mysql_connect("localhost", "log","test");
mysql_select_db('intranet',$link);
echo "<p align=\"center\"><form action='index.php?o=8' method=\"post\">";
//$sql="select insti from incident"; -->
$result=mysql_query("SELECT insti from incident");
echo "<p align=\"center\">";
echo "<select name=\"opcion\"><option value=\"\">Seleccione Institución</option>";
echo "<INPUT TYPE='hidden' name=\"opcion\">";
while ($rows=mysql_fetch_array($result))
{
$opcion=$rows['insti'];
//can also get ID or other value here too
echo "<tr align=center>\n";
echo "<option value=\"$opcion\">$opcion</option>";
}
echo "</select>";
echo "<br>";
echo "<br>";
echo "<input type='submit' name=\"Buscar\" value=\"Buscar\">";
echo "<input type='reset' value=\"Cancelar\">";
echo "</body>";
echo "</head>";
echo "</html>";
?>
Thx for help.
Ana Elisa Martinez