Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/09/2004, 09:19
Avatar de living
living
 
Fecha de Ingreso: mayo-2004
Mensajes: 1.266
Antigüedad: 20 años
Puntos: 2
lo primero que tendrías que hacer es recoger el parametro "indice" de tu formulario.

$indice=$_POST["indice"];

y tu query tendría que quedar así:

$sql = mysql_query("UPDATE rpg_noticias SET
titulo_juego='$titulo_juego',
titulo_cabecera='$titulo_cabecera',
noticia_contenido='$noticia_contenido' WHERE id='$indice'");
__________________
¿Te apasiona el mundo del guión? El portal del guión