Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/10/2006, 06:52
Avatar de hulray
hulray
 
Fecha de Ingreso: septiembre-2006
Mensajes: 630
Antigüedad: 17 años, 7 meses
Puntos: 3
no me funciona, este codigo tengo:
<form name="form1" method="post" action="">
<?
include ("conec.php")
$resultu = mysql_query("insert into cliente (datos) values(".$id."')" . mysql_error());
$Uid = mysql_insert_id(); //AQUI TOMAS EL ULTIMO ID INSERTADO

echo "$Uid"; //AQUI LO MUESTRAS EN PANTALLA
?>
</form>