downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

mysqli_stmt::num_rows> <mysqli_stmt::get_warnings
Last updated: Fri, 14 Aug 2009

view this page in

mysqli_stmt->insert_id

mysqli_stmt_insert_id

(PHP 5)

mysqli_stmt->insert_id -- mysqli_stmt_insert_idRécupère l'ID généré par la dernière requête INSERT

Description

int $insert_id;
mixed mysqli_stmt_insert_id ( mysqli_stmt $stmt )
Avertissement

Cette fonction n'est pas documentée et seule la liste des arguments est disponible.



add a note add a note User Contributed Notes
mysqli_stmt->insert_id
php at paulbutler dot org
31-Jul-2007 10:50
This can be used as a property of a statement as well:

<?php

$statement
= $mysqli->prepare($query);

echo
$statement->insert_id;

?>

mysqli_stmt::num_rows> <mysqli_stmt::get_warnings
Last updated: Fri, 14 Aug 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites