Hola
 
Mi problema es que tengo capa dinamica como esta
 
echo '<div id="dinamica" style="position:absolute; width:759px; height:54px; visibility:hidden;">';
$j=1;
	for($i=1; $i<$cont; $i++){
		echo '<div id="'.$valores[$i+1].'" style="position:absolute; width:759px; height:54px; visibility:hidden;">';
		 $const++;
		 $entorno=$valores[$i+1];			
		 $entorno=trim($entorno);
		      $obtener = mysql_query("SELECT operacion FROM operaciones INNER JOIN entorno ON entorno.entorno=operaciones.entorno WHERE operaciones.entorno='$entorno'", $link);
 
			  //echo $recorre[0];
			  while($recorre = mysql_fetch_row($obtener)){
			  echo ' | <a href=JavaScript:onClick=anyade_operacion1("'.$reco  rre[0].'","'.$j.'")>'.$recorre[0].'</a>';
			  $operacion=$recorre[0];
			  }
			  $const=1;
echo '<br>';
				  	echo '<td width="25"><input id="oper'.$j.'" name="operaciones" type="text" size="80"></td>'; 
 
 
?>
<p><img alt="" src="img/arrow.d.gif" /><b>Ambito</a></b>
			    <br>
<?php
 
			  $obtener_ambito = mysql_query("SELECT * FROM ambito INNER JOIN entorno ON entorno.entorno=ambito.entorno WHERE ambito.entorno='$entorno'", $link);
 
			  while($recorre_ambito = mysql_fetch_row($obtener_ambito)){
			  echo ' | <a href=JavaScript:onClick=anyade_ambito1("'.$recorre  _ambito[2].'","'.$j.'")>'.$recorre_ambito[2].'</a>';
			  }
			  echo '<br>';
 
				  echo '<td width="25"><input id="amb'.$j.'" name="ambito" type="text" size="80"</td>'; 
 
 
 
				  echo '<br>';
			  echo '<div id="observaciones" style="position:absolute; width:724px; height:177px; ">';  
	      echo '<p> <img alt="" src="img/arrow.d.gif" /><b>Observaciones <br></b>';
				  echo '<textarea rows="5" name="observaciones" cols="40"></textarea>';
				  echo '<input type="hidden" name="const" value="'.$const.'">';
			      echo '<br><input name="submit" type="submit" value="Enviar">';
                  echo '<input name="borrar" type="reset" id="borrar" value="Borrar">';  
  			  echo '</div>';
			echo '</div>';
			$j++;
			}
              $_SESSION ['const']=$const;
echo '</div>';
 
weno un rolllo como veis, lo k pasa k los campos operaciones ambito y observaciones tengo k meterlos en la base de datos, i se pisan entre ellos, pk la web las carga (capas) todas de golpe cuando inicias la sesion. 
Para insertar en la base de datos tengo esto
 
$operaciones=$_POST['operaciones'];
$ambito=$_POST['ambito'];
$observaciones=$_POST['observaciones'];
 
k puedo acer o utilizar para que no se solapen.
 
Muchas gracias. 
  
 
