Ver Mensaje Individual
  #7 (permalink)  
Antiguo 16/03/2010, 16:41
escorpio_13
 
Fecha de Ingreso: agosto-2009
Ubicación: tlalnepantla
Mensajes: 97
Antigüedad: 14 años, 8 meses
Puntos: 0
Respuesta: pasar arreglo por POST

mira hice esto

Código PHP:
Ver original
  1. <?
  2.     $atributos=("SELECT nombreatributo FROM prs_atributos_solicitud WHERE idtipo=$idtipo");
  3.     $resultado=pg_query($connection,$atributos);
  4.     while ($fila = pg_fetch_array($resultado))
  5.     {
  6.     echo "<tr>";
  7.     echo "<td><b>","$fila[nombreatributo]","</b></td><td><input type=text name=agregado id=agregado size=50 maxlength=50</td>";
  8.     echo "</tr>";
  9.     }
  10. $_session['fila'] = $fila;
  11. ?>

y me marco este error

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/angel/public_html/encuentra.php:6)

que puede ser lo que tengo mal