Foros del Web » Programando para Internet » PHP »

ayuda!!!!!!!!!

Estas en el tema de ayuda!!!!!!!!! en el foro de PHP en Foros del Web. COMO HAGO PARA COGER clidestino con sus tres valores????? http://localhost/tes/insertar_usuari...ES&band2=&cod= ORIGEN DEL CLIDESTINO: <table width="311" border="0" align="center"> <tr> <td width="128" height="142"> <div align="center"> <?php // ...
  #1 (permalink)  
Antiguo 21/10/2003, 14:21
Avatar de McManaman  
Fecha de Ingreso: agosto-2003
Ubicación: Ecuador - Guayaquil
Mensajes: 119
Antigüedad: 20 años, 7 meses
Puntos: 0
ayuda!!!!!!!!!

COMO HAGO PARA COGER clidestino con sus tres valores?????

http://localhost/tes/insertar_usuari...ES&band2=&cod=


ORIGEN DEL CLIDESTINO:

<table width="311" border="0" align="center">
<tr>
<td width="128" height="142"> <div align="center">
<?php
// ESTA RUTINA EN PHP ES PARA CARGAR DE LA BASE DE DATOS
include("lib.php");
conectar();
$result = mysql_query("SELECT * FROM paginas");

if ($myrow = mysql_fetch_array($result)) {

echo " <SELECT size=7 name=cliorigen > \n";

do {
?>
<option value="<? echo $myrow[1]; ?>"> <? echo $myrow[1]; ?>
<?
echo "</option>\n";
} while ($myrow = mysql_fetch_array($result));



} else {

echo "NO HAY INGRESADO PERMISOS!";

}

?>
</div></td>
<td width="45"><table width="45" height="81" border="0">
<tr>
<td width="33"> <div align="center">
<input name="agregar" type="button" accesskey="x" id="agregar" value=" --&gt; " onClick="ad_permisos();" >
</div></td>
</tr>
<tr>
<td> <div align="center">
<input name="quitar" type="button" accesskey="z" id="quitar" value=" &lt;-- " onClick="quit_permisos();">
</div></td>
</tr>
</table>

</td>
<td width="124"><div align="center">
<select name="clidestino" size="7" multiple>
</select>
</div></td>
</tr>
</table>

CON ESTA FUNCION DE JAVA SCRIPT SOMBREO TODOS LOS CAMPOS DE CLIDESTINO PARA QUE PUEDAN IR POR EL URL

function seleccionar(obj)
{
elem=document.getElementById(obj).options;
for(i=0;i<elem.length;i++)
elem[i].selected=true;
}


SON DOS SELECTS....EL UNO LLENA AL OTRO Y LOS DATOS DE ESE OTRO LO TENGO QUE LLEVAR A INSERTAR.PHP PARA GRABARLOS EN UNA BASE DE DATOS....PERO NO SE COMO COGER LOS TRES VALORES DE CLIDESTINO !!!!!!!!!!!!!!!!

gRACIAS POR SU ATENCION Y AYUDA
__________________
...Hay unos que saben TODO de nada y otros que saben NADA de TODO... think about it
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 13:31.