Código PHP:
<?php
include ("conexion.php");
$rst_ordenes=mysql_query("SELECT * FROM ncatas ORDER BY id_ncatas WHERE propietario ='Pedro Picaiedra' ", $conexion);
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>listar ncatas</title>
<style type="text/css">
@import url("css/listado.css");
</style></head>
<body>
<label><h3>LISTADO:</h3></label>
<table cellpadding="0" cellspacing="0" border="4" style="text-align: center; border-color: #666; ">
<form action="guardar.php" method="post">
<tr>
<td><label>col1</label></td>
<td><label>col2</label></td>
<td><label>col3</label></td>
<td><label>col4</label></td>
<td><label>col5</label></td>
<td><label>col6</label></td>
</tr>
<?php
while ($fila= mysql_fetch_array($rst_ordenes))
{
?>
<tr>
<td><input type="text" name="id1" value= "<?php echo$fila["id_ncatas"];?>" /> </td>
<td><input type="text" name="id2" value= "<?php echo$fila["fechae"];?>" /> </td>
<td><input type="text" name="id3" value= "<?php echo$fila["propietario"];?>" /> </td>
<td><input type="text" name="id4" value= "<?php echo$fila["expediente"];?>" /> </td>
<td><input type="text" name="id5" value= "<?php echo$fila["destino"];?>" /> </td>
<td><input name="id6" type="checkbox" id="checkbox[]" value="SI"></td>
</tr>
<?php
}
?>
</table>
<table><tr><td>
<input type="submit" id="boton_enviar" name="enviar" value="GUARDAR" />
</td></tr></table>
</body>
</html>
Ahí está mi duda, como hago para guardar varias filas, se como hacerlo de a un campo a la vez, pero no filas enteras...
Por ejemplo quisiera que me guarde:
TABLA NCATAS
ID _NCATAS | FECHAE | PROPIETARIO | EXPEDIENTE | DESTINO
1 12/12/12 Pedro Picapiedra 14 seguro
2 13/02/11 Pedro Picapiedra 111 inseguro
3 12/05/14 Pedro Picapiedra 1 seguro
![ojotes](http://static.forosdelweb.com/fdwtheme/images/smilies/ojotes.png)