![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
09/03/2006, 06:20
|
![Avatar de Zubyc](http://static.forosdelweb.com/customavatars/avatar126950_1.gif) | | | Fecha de Ingreso: enero-2006 Ubicación: Almería
Mensajes: 5
Antigüedad: 19 años Puntos: 0 | |
En principio ese error no debería importar, sería un simple notice.
1) Prueba a hacer un echo $id; para ver si contiene algún valor.
2) Muestra el resultado de hacer un mysql_error() para ver si hay algún otro problema. Es decir:
mysql_query("DELETE FROM noticias WHERE id='$id'",$connect) or die(mysql_error()); |