Man puse como comentario la parte que envia al archivo guardarp.php e igualmente manda valores, creo que el problema es en otro lado
![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
ayuda este es todo mi codigo:
Código HTML:
<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK
href="Classic.css" type=text/css rel=stylesheet>
</head>
<body topmargin="0" leftmargin="0" >
<?
include("conexion.php");
$link=Conectarse();
$combo1=mysql_query("select * from tabla_de_formulas",$link);
$combo2=mysql_query("select * from tabla_de_formulas",$link);
$mostrart=mysql_query("select * from shadow_tabla_pedido_de_espuma",$link);
?>
<script>
function ejecutasubmit(id)
{
//Obteniendo valores de cajas aqui por el VALUE puedes obtenerla a través del ID
//var caja1 = document.nombreform.caja1.value;
//var caja2 = document.nombreform.caja2.value;
//var caja3 = document.nombreform.caja3.value;
var x=id;
var accion = "guardarp.php?id="+x;
window.document.nombreform.action = accion;
window.document.nombreform.target="_self";
self.document.nombreform.submit();
}
</script>
<form action="gusardarp.php" method="get" name="nombreform" id="nombreform">
<table width="779" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="Imagenes/web-hosting.gif" width="779" height="118"></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> <center>
<table width="37" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td><SPAN class=gen>Cantidad:</SPAN></td>
<td align="left"> <input type="text" name="Cantidad" class="post" disabled="true">
<!-- <input type="text" name="Densidad" class="post">
<input type="text" name="Dimensiones" class="post"> -->
</td>
</tr>
<tr>
<td><SPAN class=gen>Densidad: </SPAN></td>
<td align="right">
<?php
echo "<select name='Densidad' disabled='true'>";
while($row = mysql_fetch_array($combo1))
{
echo "<option> $row[Densidad]";
}
echo "</select>";
//mysql_free_result($combo);
mysql_close($link);
?>
</td>
</tr>
<tr>
<td><SPAN class=gen>Dimensiones:</SPAN></td>
<td align="right">
<?php
$con=0;
$densi=34;
echo "<select name='Dimensiones' disabled='true'>";
while($row = mysql_fetch_array($combo2))
{
echo "<option> $row[Dimensiones]";
$con=$con+1;
}
echo "</select>";
//mysql_free_result($dimen2);
//mysql_close($link);
?>
</td>
</tr>
<tr>
<td colspan="2"><hr color="#000000"></td>
</tr>
<tr>
<td colspan="2" align="center">
<input name="Agregar" type="submit" value="Agregar" disabled="true" >
<input type="reset" name="Limpiar" value="Limpiar" disabled="true"> </td>
</tr>
</table>
</center></td>
</tr>
<tr>
<tr>
<td height="35"> <strong>Lista de Pedidos</strong>
<hr color="#000000"> </td>
</tr>
<tr>
<td><center>
<TABLE BORDER=1 CELLSPACING=1 CELLPADDING=1>
<TR>
<TD> <B>CANTIDAD</B></TD>
<TD> <B>DENSIDAD</B> </TD>
<TD> <B>DIMENSIONES</B> </TD>
<TD> <B>MODIFICAR</B> </TD>
<TD> <B>ELIMINAR</B> </TD>
</TR>
<?php
$id=$_GET['id'];
while($row = mysql_fetch_array($mostrart))
{
if ($id==$row['id_de_Pedido'])
{
echo "<tr bgcolor=#dddddd>";
echo "<tr bgcolor=#dddddd>";
echo "<td> <input type=text name='caja1' value =".$row['Cantidad']."> </td>";
echo "<td> <input type=text name='caja2' value =".$row['Densidad']."> </td>";
echo "<td> <input type=text name='caja3' value =".$row['Dimensiones']."> </td>";
echo "<td>";?>
<a href='#' onclick='ejecutasubmit(<?php echo $row['id_de_Pedido']; ?>)'> Guardar</a>
<?
echo "</td>";
echo "<td> <a href='borra.php?id=".$row['id_de_Pedido']."'>Borrar</a></td> ";
echo "</tr>";
}
else
{
echo "<tr bgcolor=#dddddd>";
echo "<td>".$row["Cantidad"]."</td>";
echo "<td>".$row["Densidad"]."</td>";
echo "<td>".$row["Dimensiones"]."</td>";
echo "<td></td> ";
echo "<td></td> ";
}
}
echo "</tr>";
mysql_free_result($mostrart);
//mysql_close($link);
?>
</table>
<hr color="#000000">
</center></td>
</tr>
<tr>
<td><table border="0" align="center">
<tr>
<td><div align="center">
<input name="Enviar" type="submit" value="Enviar" disabled="true">
<input name="Cancelar" type="submit" value="Cancelar Pedido" disabled="true">
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</form>
</body>
</html>