My somebody help me solve the code below ? A have a COMBO called ~edicoes~ and i must to use the option selected to open an URL as shown below : <SELECT name="edicoes"> <? $sql = "select num_edicao from edicao where flg_edicaocorrente = 'S'"; $result = @mysql_db_query("iasp", $sql) or die ($sql); $reg = mysql_fetch_array($result); $edicao = $reg["num_edicao"]; $sql = "select * from edicao where num_edicao <= " . $edicao . " order by num_edicao desc"; $result = @mysql_db_query("iasp", $sql) or die ($sql); while ($reg = mysql_fetch_array($result)) { $num_edicao=$reg["num_edicao"]; ?> <OPTION value="http://www.iasp.br/iasponline.php?edicao=<?=$num_edicao?>")> Edição <?=$num_edicao?> / <?=$reg["dat_edicao"]?> <br> <?}?> </OPTION> </SELECT> <p><font size="1"> <a href="http://www.iasp.br/iasponline.php?edicao=javascript:document.forms['edicoes'].options[document.forms['edicoes'].selectedIndex].value"> <img border="0" src="baok.gif" width="17" height="17"> </a> </font> </p> the href must refer to the option selected in the COMBO. thank so much eduardo melo computer programmer <html><DIV> <DIV> <DIV> <H5>--</H5> <H5>Eduardo Fco Melo</H5> <H5>Celular : 19-9743-0804</H5> <H5>R. Antônio Biasi Filho, 74 - Hortolândia - SP - CEP 13184-040</H5> <H5>Currículum disponível no endereço abaixo :</H5> <H5><A href="http://www.apinfo2.com/cgi-bin/roteador.cfm?prof=59821&pcargo=Analista Programador">www.apinfo2.com/cgi-bin/roteador.cfm?prof=59821&pcargo=Analista Programador <BR></H5></A></DIV></DIV></DIV></html> _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]