Ok, lo del problema 2, ya esta, lo que pasa que el problema 1 (parece un trabalenguas) no esta del todo porque, si por ejemplo tengo lo de añadir autor, pero con dos cosas distintas..., es decir:
Código PHP:
<table width="608" border="0">
<tr>
<td><? if(isset($_POST["AnyadirAutor"]))
{
foreach($_POST["nombreAut"] as $nomAut)
{
//echo "<br>DNI: "."$dni";
?>
<input type="hidden" name="nombreAut[]" value="<? echo $nomAut; ?>" >
<tr><td>AUTOR: </td><td><? echo $nomAut; echo "<br>"; ?></td></tr>
<?
}
}
?>
</td>
<td width="135">Nombre y Apellidos:</td>
<td width="463"><input type="text" name="nombreAut[]" width="450"></td>
</tr>
</table>
<table width="200" border="0">
<tr>
<td> </td>
</tr>
</table>
<table width="487" border="0">
<tr>
<td width="481"><div align="right">
<input type="submit" name="AnyadirAutor" value="Añadir Autor">
</div></td>
</tr>
</table>
<table width="200" border="0">
<tr>
<td> </td>
</tr>
</table>
<table width="521" border="0">
<tr>
<td width="224" height="38"><div align="center"><strong><span class="style1">CATÁLOGO/S ASOCIADOS </span></strong></div></td>
</tr>
</table>
<table width="234" border="0">
<tr>
<td><? if(isset($_POST["AsignarCatalogo"]))
{
foreach($_POST["nomCat"] as $nomCat)
{
//echo "<br>DNI: "."$dni";
?>
<input type="hidden" name="nomCat[]" value="<? echo $nomCat; ?>" >
<tr><td>CATÁLOGO: </td><td><? echo $nomCat; echo "<br>"; ?></td></tr>
<?
}
}
?>
</td>
<td width="67">Nombre:</td>
<td width="157"><input type="text" name="nomCat[]"></td>
</tr>
</table>
<table width="200" border="0">
<tr>
<td> </td>
</tr>
</table>
<table width="499" border="0">
<tr>
<td width="481"><div align="right">
<input type="submit" name="AsignarCatalogo" value="Asignar Catálogo">
</div></td>
</tr>
</table>
Es decir, hay un añadir autor, y añadir catalogo, cuando uno se añade y luego vas al otro, pues desaparece...
Donde deberia colocar en este caso el $_POST['resumen']???
Gracias!!