
18/10/2006, 06:52
|
 | | | Fecha de Ingreso: septiembre-2006
Mensajes: 630
Antigüedad: 18 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> |