Description
int
mysql_insert_id
( [resource link_identifier])
mysql_insert_id(
)
retourne
le
dernier
identifiant
généré
par
un
champs
de
type
AUTO_INCREMENT
,
sur
la
connexion
MySQL
courante
,
ou
bien
sûr
la
connexion
spécifiée
par
link_identifier
.
mysql_insert_id(
)
ne
prend
aucun
argument
.
Elle
retourne
le
dernier
identifiant
généré
par
la
dernière
fonction
INSERT
effectuée
.