Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/02/2008, 12:47
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 9 meses
Puntos: 2135
Re: Pregunta con variables en sesiones

Prueba asi mejor:
Código PHP:
$last_id " SELECT LAST_INSERT_ID()";

$last_id_sql mysql_query($last_id) or die(mysql_error());
$row2 mysql_fetch_row($last_id_sql);
echo 
$row2[0];
$Clear Clear($last_id_sql);
// Cerramos la conexion
$Disconex Disconex(); 
Saludos.