RE: [PHP-ES] Imagenes y PHP

From: Date: Tue, 22 Jan 2002 22:16:42 +0000
Subject: RE: [PHP-ES] Imagenes y PHP
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-18179@lists.php.net to get a copy of this message
<? $sql = "select * from stdmarea order by areacodi"; $retid = mysql_db_query($db,$sql,$cid); echo("<select name='cmb_t_area' onChange='fun_descri();'>"); while ($row=mysql_fetch_array($retid)) { $txt_v_codi=$row["areacodi"]; $txt_v_desc=$row["areadesc"]; echo ("<option value='$txt_v_desc'>$txt_v_codi</option>\n"); } echo ("</select"); De este combo select como hago para obtener el valor de la variable $txt_v_codi lo necesito para grabarlo en una tabla temporal. Slds.

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