Ver Mensaje Individual
  #5 (permalink)  
Antiguo 07/03/2008, 08:29
abrahamvilla
 
Fecha de Ingreso: febrero-2008
Mensajes: 24
Antigüedad: 16 años, 2 meses
Puntos: 0
Re: problema con listas

<input name="valor2" type="text" id="valor2">
<input name="valor12" type="text" id="valor12">
</p>
<p>
<select name="select7" class="esttilo5">
<option></BLANK></option>
<?php
do {
?>
<option value="<?php echo $row_Recordset1['NoCC']?>"><?php echo $row_Recordset1['NoCC']?></option>
<?php
} while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
$rows = mysql_num_rows($Recordset1);
if($rows > 0) {
mysql_data_seek($Recordset1, 0);
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
}
?>
</select>
<select name="select10" class="esttilo5">
<option></BLANK></option>
<?php
do {
?>
<option value="<?php echo $row_Recordset2['NOMBRE_DEL_CONSEPTO']?>"><?php echo $row_Recordset2['NOMBRE_DEL_CONSEPTO']?></option>
<?php
} while ($row_Recordset2 = mysql_fetch_assoc($Recordset2));
$rows = mysql_num_rows($Recordset2);
if($rows > 0) {
mysql_data_seek($Recordset2, 0);
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
}
?>
</select>
<select name="select13" class="esttilo5">
<option></BLANK></option>
<?php
do {
?>
<option value="<?php echo $row_Recordset6['NoC']?>"><?php echo $row_Recordset6['NoC']?></option>
<?php
} while ($row_Recordset6 = mysql_fetch_assoc($Recordset6));
$rows = mysql_num_rows($Recordset6);
if($rows > 0) {
mysql_data_seek($Recordset6, 0);
$row_Recordset6 = mysql_fetch_assoc($Recordset6);
}
?>
</select>
<select name="select16" class="esttilo5">
<option></BLANK></option>
<?php
do {
?>
<option value="<?php echo $row_Recordset4['NOMBRE_DEL_CONSEPTO_DE_GASTOS']?>"><?php echo $row_Recordset4['NOMBRE_DEL_CONSEPTO_DE_GASTOS']?></option>
<?php
} while ($row_Recordset4 = mysql_fetch_assoc($Recordset4));
$rows = mysql_num_rows($Recordset4);
if($rows > 0) {
mysql_data_seek($Recordset4, 0);
$row_Recordset4 = mysql_fetch_assoc($Recordset4);
}
?>
</select>
<select name="select19" class="esttilo5">
<option></BLANK></option>
<?php
do {
?>
<option value="<?php echo $row_Recordset5['ING_EGR']?>"><?php echo $row_Recordset5['ING_EGR']?></option>
<?php
} while ($row_Recordset5 = mysql_fetch_assoc($Recordset5));
$rows = mysql_num_rows($Recordset5);
if($rows > 0) {
mysql_data_seek($Recordset5, 0);
$row_Recordset5 = mysql_fetch_assoc($Recordset5);
}
?>
</select>
<input name="valor3" type="text" id="valor3">
<input name="valor13" type="text" id="valor13">
</p>
<p>
<select name="select8" class="esttilo5">
<option></BLANK></option>
<?php
do {
?>
<option value="<?php echo $row_Recordset1['NoCC']?>"><?php echo $row_Recordset1['NoCC']?></option>
<?php
} while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
$rows = mysql_num_rows($Recordset1);
if($rows > 0) {
mysql_data_seek($Recordset1, 0);
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
}
?>
</select>
<select name="select11" class="esttilo5">
<option></BLANK></option>
<?php
do {
?>
<option value="<?php echo $row_Recordset2['NOMBRE_DEL_CONSEPTO']?>"><?php echo $row_Recordset2['NOMBRE_DEL_CONSEPTO']?></option>
<?php
} while ($row_Recordset2 = mysql_fetch_assoc($Recordset2));
$rows = mysql_num_rows($Recordset2);
if($rows > 0) {
mysql_data_seek($Recordset2, 0);
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
}
?>
</select>
<select name="select14" class="esttilo5">
<option></BLANK></option>
<?php
do {
?>
<option value="<?php echo $row_Recordset6['NoC']?>"><?php echo $row_Recordset6['NoC']?></option>
<?php
} while ($row_Recordset6 = mysql_fetch_assoc($Recordset6));
$rows = mysql_num_rows($Recordset6);
if($rows > 0) {
mysql_data_seek($Recordset6, 0);
$row_Recordset6 = mysql_fetch_assoc($Recordset6);
}
?>
</select>
<select name="select17" class="esttilo5">
<option></BLANK></option>
<?php
do {
?>
<option value="<?php echo $row_Recordset4['NOMBRE_DEL_CONSEPTO_DE_GASTOS']?>"><?php echo $row_Recordset4['NOMBRE_DEL_CONSEPTO_DE_GASTOS']?></option>
<?php
} while ($row_Recordset4 = mysql_fetch_assoc($Recordset4));
$rows = mysql_num_rows($Recordset4);
if($rows > 0) {
mysql_data_seek($Recordset4, 0);
$row_Recordset4 = mysql_fetch_assoc($Recordset4);
}
?>
</select>
<select name="select20" class="esttilo5">
<option></BLANK></option>
<?php
do {
?>
<option value="<?php echo $row_Recordset5['ING_EGR']?>"><?php echo $row_Recordset5['ING_EGR']?></option>
<?php
} while ($row_Recordset5 = mysql_fetch_assoc($Recordset5));
$rows = mysql_num_rows($Recordset5);
if($rows > 0) {
mysql_data_seek($Recordset5, 0);
$row_Recordset5 = mysql_fetch_assoc($Recordset5);
}
?>
</select>
<input name="valor4" type="text" id="valor4">
<input name="valor14" type="text" id="valor14">
</p>
<p>
<input type="button" value="SUMA" onClick="suma();">
.................................................. .................................................S UB-TOTAL$
<input name="valor5" type="text" id="valor5">
<br>
.................................................. .................................................. .................................IVA$
<input name="valor15" type="text" id="valor15">
</p>

<p>______________________________COMENTARIOS</p>
<a href="javascript:window.close();">Cerrar Pantalla </a><a href="javascript:window.print();"> Imprimir Pantalla </a>
<textarea name="textarea2" cols="30" rows="5" wrap="PHYSICAL"></textarea>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>
<?php
mysql_free_result($Recordset1);

mysql_free_result($Recordset2);

mysql_free_result($Recordset3);

mysql_free_result($Recordset4);

mysql_free_result($Recordset5);

mysql_free_result($Recordset6);
?>