Tema: ID por mail
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/06/2008, 14:38
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: ID por mail

Hola madacigui,

Puedes usar mysql_insert_id() para obtener el último ID de la base de datos, después de hacer un INSERT.

Saludos.