> <?php echo $row->nombre; ?> </option> <?php } ?> </select> <br /> <br /> <strong>CHOFER</strong> <select name="cmbChofer"> <option value="">SELECCIONE...</option> <?php $result = obtenerChoferes($link); while ($row = mysql_fetch_object($result)) { ?> <option value="<?php echo $row->id; ?> " <?php if ($_REQUEST["cmbChofer"] == $row->id) { ?> selected <?php } ?> > <?php
</tr> <tr> <td class="text" colspan="11"><hr></td> </tr> <tr> <td colspan="6"> </td> </tr> <tr> <td colspan="6"></td> </tr> </table> <strong style="padding-left:15px">CHOFER</strong> <select name="cmbChofer"> <option value=""></option> <?php $choferes = obtenerChoferes($link); while ($row = obtenerRegistro($choferes)) { ?> <option value="<?php echo $row->id; ?> "> <?php echo $row->nombre; ?> </option> <?php } ?> </select>