Bueno no se si pude explicarme bien pero tambien les posteo el form donde genero las filas:
Código PHP:
<form name="form1" method="post" action="enviar.php">
<select name="campo[][campo1]" id="campo[][campo1]">
<?php
require_once('Conecctions/coneccion.php');
$q=mysql_query("select * from familia");
do{ echo "<option value='$f[cod]'>$f[cod]</option>";
}while($f=mysql_fetch_array($q))
?>
</select>
<select name="campo[][campo2]" id="campo[][campo2]">
<?php
require_once('Conecctions/coneccion.php');
$q=mysql_query("select * from familia");
do{ echo "<option value='$f[cod]'>$f[cod]</option>";
}while($f=mysql_fetch_array($q))
?>
</select>
<select name="campo[][campo3]" id="campo[][campo3]">
<?php
require_once('Conecctions/coneccion.php');
$q=mysql_query("select * from familia");
do{ echo "<option value='$f[cod]'>$f[cod]</option>";
}while($f=mysql_fetch_array($q))
?>
</select>
<select name="campo[][campo4]" id="campo[][campo4]">
<?php
require_once('Conecctions/coneccion.php');
$q=mysql_query("select * from familia");
do{ echo "<option value='$f[cod]'>$f[cod]</option>";
}while($f=mysql_fetch_array($q))
?>
</select>
<select name="campo[][campo5]" id="campo[][campo5]">
<?php
require_once('Conecctions/coneccion.php');
$q=mysql_query("select * from familia");
do{ echo "<option value='$f[cod]'>$f[cod]</option>";
}while($f=mysql_fetch_array($q))
?>
</select>
<input type="button" name="button" id="button" value="Crear otra fila" onclick="addFileInput()"/>
<div id="moreUploads"></div>
<p>
<label>
<input type="submit" name="Submit" value="Enviar" />
</label>
</p>
</form>
Código PHP:
<script language="javascript" type="text/javascript">
var upload_number=1;
function addFileInput() {
var i=0;
var d = document.createElement("div");
var file = document.createElement("select");
file.setAttribute("name", "campo[][campo1]");
d.appendChild(file);
var file2 = document.createElement("select");
file2.setAttribute("name", "campo[][campo2]");
d.appendChild(file2);
var file3 = document.createElement("select");
file3.setAttribute("name", "campo[][campo3]");
d.appendChild(file3);
var file4 = document.createElement("select");
file4.setAttribute("name", "campo[][campo4]");
d.appendChild(file4);
var file5 = document.createElement("select");
file5.setAttribute("name", "campo[][campo5]");
d.appendChild(file5);
document.getElementById("moreUploads").appendChild(d);
upload_number++;
}
</script>