![Adios](http://static.forosdelweb.com/fdwtheme/images/smilies/adios.gif)
Código PHP:
<?php
$obraclavefrente = $_POST['obraclavefrente'];
$obranombrefrente = $_POST['obranombrefrente'];
$ubicacionfrente = $_POST['ubicacionfrente'];
$clavepartida = $_POST['clavepartida'];
$frentecalle = $_POST['frentecalle'];
$frentenumero = $_POST['frentenumero'];
$frentecolonia = $_POST['frentecolonia'];
$clavedestajista = $_POST['clavedestajista'];
$nombredestajista = $_POST['nombredestajista'];
$etapa = $_POST['etapa'];
$partidafecha = $_POST['partidafecha'];
$finalfecha = $_POST['finalfecha'];
$ano = $_POST['ano'];
$fecha = $_POST['fecha'];
$clavepaquete = $_POST['clavepaquete'];
$numeroestimacionletra = $_POST['numeroestimacionletra'];
$numeroestimacion = $_POST['numeroestimacion'];
$descpaquete = $_POST['descpaquete'];
$connection = mysql_connect("localhost","administrador","administrador");
mysql_select_db("destajos",$connection);
$datospaquete = mysql_query("SELECT * FROM paquetel where clavefrente = '$obraclavefrente' and clavepaquete = '$clavepaquete' and clavepartida = '$clavepartida'",$connection);
echo "<table>
<tr><td><font color = \"blue\" size = \"3\" face = \"arial\"><b>ESTIMACIONES (PASO3)<b></font></td></tr>
</table><br><br>
<table width = \"900px\">
<tr><td><font color = \"blue\" size = \"2\" face = \"arial\"><b>OBRA:</b></font><font color = \"green\" size = \"2\"><b>$obraclavefrente-$obranombrefrente</b></font></td>
<td><font color = \"blue\" size = \"2\" face = \"arial\"><b>FECHA:</b></font><font color =\"green\" size =\"2\"><b>$fecha</b></font></td>
<td><font color =\"blue\" size = \"2\" face = \"arial\"><b>LOCALIDAD:</b></font><font color = \"green\" size = \"2\"><b>$frentecalle $frentenumero Col. $frentecolonia</b></font></td></tr>
<tr><td><font color = \"blue\" size = \"2\" face = \"arial\"><b>FRENTE:</b></font<td><font color = \"green\" size = \"2\"><b>$ubicacionfrente</b></font></td>
<td><font color = \"blue\" size = \"2\" face = \"arial\"><b>ETAPA:</b></font><font color = \"green\" size = \"2\"><b>$etapa</b></font></td>
<td><font color = \"blue\" size = \"2\" face = \"arial\"><b>DESTAJISTA:</b></font><font color = \"green\" size = \"2\"><b>$clavedestajista-$nombredestajista</b></font></td></tr>
<tr><td><font color = \"blue\" size = \"2\" face = \"arial\"><b>PERIODO DE:</b></font><font color = \"green\" size = \"2\"><b>$partidafecha</b></font>*<font color = \"blue\" size = \"2\" face = \"arial\"><b>AL:</b></font><font color = \"green\" size = \"2\"><b>$finalfecha $ano</b></font></td>
<td><font color = \"blue\" size = \"2\" face = \"arial\"><b>ESTIMANCION NUMERO:</b></font><font color = \"green\" size = \"2\"><b>**$numeroestimacion</b></font></Td></tr>
<tr><td><font color =\"blue\" size = \"2\" face = \"arial\"><b>TRABAJOS DE:</b></font><font color = \"green\" size = \"2\"><b>$clavepartida</b></font></td>
<td><font color = \"blue\" size = \"2\" face = \"arial\"><b>ESTIMACION NUMERO(con letra):</b></font><td><font color = \"green\" size = \"2\"><b>$numeroestimacionletra</b></font></td></tr>
</table><br><br>
<table border = \"1\">
<th><font size = \"2\"><b>Clave Concepto</b></font></th>
<th><font size = \"2\"><b>Concepto</b></font></th>
<th><font size = \"2\"><b>Unidad</b></font></th>
<th><font size = \"2\"><b>Precio Unitario</b></th>
<th><font size = \"2\"><b>Cantidad</b></th>
<th><font size = \"2\"><b>Nuevo Volumen</b></th>
<th><font size = \"2\"><b>Nuevo Importe</b></th></tr>";
$datospaquete = mysql_query("SELECT * FROM paquetel where clavefrente = '$obraclavefrente' and clavepaquete = '$clavepaquete' and clavepartida = '$clavepartida' and descpaquete = '$descpaquete'",$connection);
while ($rows = mysql_fetch_assoc($datospaquete)){
echo "
<form name = \"envio\" method = \"POST\" action = \"menu.php\">
<tr><td><font size = \"1\"> $rows[claveconcepto]</font></td>
<td><font size = \"1\"> $rows[descconcepto]</font></td>
<td><font size = \"1\">$rows[unidad]</font></td>
<td><font size = \"1\">$rows[pu]</font></td>
<td><font size = \"1\">$rows[cantidad]</font></td>
<td><input type = \"text\" name = \"volumennuevo[0][]\" maxlenght = \"25\" size = \"10\"></td>
<td><input type = \"text\" name = \"importenuevo[1][]\" maxlenght = \"25\" size = \"10\"></td></tr>
";
}
echo "</<table>
<table>
<input type = \"hidden\" name = \"bucle\" value = \"$bucle\">
<input type = \"hidden\" name = \"clavefrente\" value = \"$obraclavefrente\">
<input type = \"hidden\" name = \"nombrefrente\" value = \"$obranombrefrente\">
<input type = \"hidden\" name = \"ubicacionfrente\" value = \"$ubicacionfrente\">
<input type = \"hidden\" name = \"clavepartida\" value = \"$clavepartida\">
<input type = \"hidden\" name = \"frentecalle\" value = \"$frentecalle\">
<input type = \"hidden\" name = \"frentenumero\" value = \"$frentenumero\">
<input type = \"hidden\" name = \"frentecolonia\" value = \"$frentecolonia\">
<input type = \"hidden\" name = \"clavedestajista\" value = \"$clavedestajista\">
<input type = \"hidden\" name = \"nombredestajista\" value = \"$nombredestajista\">
<input type = \"hidden\" name = \"etapa\" value = \"$etapa\">
<input type = \"hidden\" name = \"partidafecha\" value = \"$partidafecha\">
<input type = \"hidden\" name = \"finalfecha\" value = \"$finalfecha\">
<input type = \"hidden\" name = \"ano\" value = \"$ano\">
<input type = \"hidden\" name = \"fecha\" value = \"$fecha\">
<input type = \"hidden\" name = \"clavepaquete\" value = \"$clavepaquete\">
<input type = \"hidden\" name = \"numeroestimacionletra\" value = \"$numeroestimacionletra\">
<input type = \"hidden\" name = \"numeroestimacion\" value = \"$numeroestimacion\">
<input type = \"hidden\" name = \"descpaquete\" value = \"$descpaquete\">
<table><tr><td><input type = \"submit\" value = \"PASO (4)\"></td></tr></table>
</form>";
?>