Dejo el codigo por si acaso.
Código PHP:
Ver original {
$found = true;
$result .= "<tr class='th'><td class='td'>";
$result .= "$myrow[MedidaNombre]</td>";
$result .= "<td>";
$result .= "$"."$myrow[MedidaPrecio]";
$result .= "</tr>";
$result .= "<td>";
$result .= "<input type='text' name='CAJA' id='1'/>";
$result .= "</tr>";
$result .= "<td>";
$result .= "<label/>";
$result .= "</tr>";
$result .= "<td>";
$result .= " <input type='checkbox' name='si' id='1' />";
$result .= "</tr>";
}
$result .= "</table>";
if(!$found) {
echo "No se encontró el producto $prod , intente con otro nombre.";
echo "<br>";
echo "<br>";
echo "<a href=pre.php><u>Nueva Consulta</u></a>";
}else{
echo $result;
echo "<br>";
}
?>
<body>
<form id="form1" name="form1" method="post" action="pre.php">
<div align="center">
<input type="button" name="agrego" id="agrego" value="Agregar" />
<input type="submit" name="nvo" id="nvo" value="Nueva Consulta" />
<input type="button" name="ver" id="ver" value="Ver Presupuesto" />
<input type="reset" name="cancel" id="cancel" value="Cancelar" />
</div>
</form>
</div>
</body>
</html>