Ver Mensaje Individual
  #3 (permalink)  
Antiguo 21/10/2011, 10:04
Sirrohan
 
Fecha de Ingreso: julio-2010
Mensajes: 275
Antigüedad: 14 años, 8 meses
Puntos: 21
Respuesta: Agregar/Modificar campo de formulario

Es posible, pero ya habia hecho esta parte... quisiera editar el campo <option> del <select>
Código PHP:
           <select name="variable">
    <option value="none"></option>
    <?
     
include('../Clases/Cls_conexion.php');
     include(
'../Clases/Cls_variable.php');
      
$conex=new Cls_conexion();
     
$variable=new Cls_variable();
     
$conex->conectar_bd();
     
$variable=$variable->listar_certificado();
     
     while(
$registro=pg_fetch_object($variable) )
     {
    
?>
        <option value="<?= $registro->cod?>" > <? echo $registro->cod;?> </option>
     <?
     

        
$conex->desconectar_bd();
     
?>
    </select>