![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
10/07/2002, 09:22
|
![Avatar de manuweb](http://static.forosdelweb.com/customavatars/avatar22251_1.gif) | | | Fecha de Ingreso: julio-2002
Mensajes: 75
Antigüedad: 22 años, 7 meses Puntos: 10 | |
Re: Saber el ultimo dato insertado $sql = "SELECT max(id) FROM contenidos";
Ahora funciona :)
El problema estaba en no poner ' al id.
Gracias. |