Esempio n. 1
0
  </label>
  <table width="323" border="0" align="center" class="style12">
    <tr>
      <th colspan="2" bgcolor="#660066" scope="col"><strong><span class="style13">Escoje el M&eacute;dico</span></strong></th>
    </tr>
    <tr>
      <th scope="col">M&eacute;dico: </th>
      <th width="152" scope="col"><?php 
require CONSTANT_PATH_CONFIGURACION . "/componentes/comboAlmacen.php";
$entidad = '01';
$almacenDestino = 'HCEX';
$comboAlmacen1 = new comboAlmacen();
if (!$almacenDestino) {
    $almacenDestino = $almacenSolicitante;
}
$comboAlmacen1->despliegaMiniAlmacenGET($entidad, 'style7', $almacenDestino, $almacenDestino, $basedatos);
?>
</th>
    </tr>
    <tr>
      <th colspan="2" scope="col"><label>
        <?php 
$sSQL18 = "Select * From medicos WHERE numMedico ='" . $_POST['codMedico'] . "'";
$result18 = mysql_db_query($basedatos, $sSQL18);
$rNombre18 = mysql_fetch_array($result18);
?>
        <?php 
echo "Dr(a): " . $rNombre18["apellido1"] . " " . $rNombre18["apellido2"] . " " . $rNombre18["apellido3"] . " " . $rNombre18["nombre1"] . " " . $rNombre18["nombre2"];
?>
      </label></th>
    </tr>