Ver Mensaje Individual
  #5 (permalink)  
Antiguo 05/01/2010, 13:56
claudia_1109
 
Fecha de Ingreso: mayo-2008
Ubicación: Chihuahua
Mensajes: 30
Antigüedad: 16 años
Puntos: 1
Respuesta: Sistema de comentarios PHP

Muchas gracias por responder tan pronto, ya cambie todo por el $_POST tal y como me indicaron pero sigue sin guradar en la tabla, me marca un error en la linea 36 y la linea 36 es:

mysql_query("INSERT INTO comentarios (id_noticia,nick,comentario) VALUES ('$idNoticia','$nickNuevo','$comentarioNoticia')") ;

Y este es el error que me marca:
Warning: mysql_query() [function.mysql-query]: Access denied for user 'tiempoc'@'localhost' (using password: NO) in /home/tiempoc/public_html/prueb/nuevoComentario.php on line 36

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/tiempoc/public_html/prueb/nuevoComentario.php on line 36
Comentario Enviado Con Exito.
Espere Unos Segundos...

Espero me puedan ayudar