
03/03/2005, 12:53
|
 | | | Fecha de Ingreso: mayo-2003 Ubicación: Don Torcuato, Buenos Aires, Argentina
Mensajes: 1.250
Antigüedad: 21 años, 9 meses Puntos: 2 | |
pues la variable $bucle la debes setear DENTRO del while, no puedes setear una variable con while...
En lugar de hacer el while y luego mil echo ''; has algo asi
while($rows = mysql_fetch_assoc($datospaquete)){
$bucle= "
<tr><td><font size = \"1\">$rows[claveconcepto]</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>
";
}
O algo así...
__________________ I Love Programming... |