Re: Valor de variable

From: Date: Mon, 13 May 2002 19:51:37 +0000
Subject: Re: Valor de variable
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-22618@lists.php.net to get a copy of this message
ya lo hice pero no pasa nada <? $sql_tipdes = "select * from datosdes order by tipdes"; $res_tipdes = mysql_db_query($db,$sql_tipdes,$cid); echo("<select name = 'tip_equipo'>"); while ($row=mysql_fetch_array($res_tipdes)) { $tipocod=$row_tipdes["tipcod"]; $tipodes=$row_tipdes["tipdes"]; echo ( "<option value='$tipocod'>$tipodes</option> "); } echo ("</select"); $sql_martip = "select * from datosmar where martip='$tipcod' order by tipdes"; $res_martip = mysql_db_query($db,$sql_martip,$cid); echo("<select name = 'tip_equipo'>"); while ($row_martip=mysql_fetch_array($res_martip)) { $marccod=$row_martip["marcod"]; $marcdes=$row_martip["mardes"]; echo ( "<option value='$marccod'>$marcdes</option> "); } echo ("</select"); ?>

« previous php.general.es (#22618) next »