Ver Mensaje Individual
  #5 (permalink)  
Antiguo 02/12/2008, 05:23
superdober
 
Fecha de Ingreso: agosto-2007
Mensajes: 248
Antigüedad: 16 años, 8 meses
Puntos: 1
Respuesta: PHP Notice: Undefined index

Lo que intento hacer es mediante una tabla que me muestra los registros subirlos a los input de arriba para poder realizar inserciones, modificaciones y borrados en PHP. ¿Tendría que hacer algo aquí?:


Código:
   echo '<table align="center" border="2" bordercolor="#003366" cellspacinig="5">'; //Creamos tabla
	echo "<tr><th>ID_USUARIO</th><th>NOMBRE</th><th>CONTRASEÑA</th><th>SUBIR REGISTRO</th></tr>"; //Primera Fila de la Tabla

    while ($result_row = mysql_fetch_row(($resultado)))
      {
       echo "<tr><td>";
       echo htmlentities ($result_row[0]).'</td><td>';
       echo htmlentities ($result_row[1]).'</td><td>';
	   
	   //¡¡¡¡ BUENA IDEA: Ver la lista de una SELECT y uno de los registros hacerle un hipervinculo ¡¡¡¡¡
       echo '<a target="_blank" href="apellido.php?contraseña='.htmlentities ($result_row[2]).'"> CLIC PARA VER APELLIDO </a>'.'</td><td>';

	  echo '<center><a style="text-decoration:none" href="insertar2.php?nombre='.htmlentities($result_row[1]).'&'.'contraseña='.htmlentities($result_row[2]).'"> <img alt="Subir Registro Para Procesarlo" border="0" src="../php/recursos/subir.png" style="border:none"/> </a></td></tr></center>';

      }
	 
	 echo "</table>";  //Cerramos tabla

Última edición por superdober; 03/12/2008 a las 14:52