Insert_Id ========= Returns the auto generated id used in the last query. Example ....... .. code-block:: php :linenos: :emphasize-lines: 19 Execute('CREATE TABLE myCity LIKE City'); } catch (Exception $e) { echo "Table already exists.",$db->isCli(1); } $db->Execute("INSERT INTO myCity VALUES (NULL, 'Toluca', 'MEX', 'México', 467713)"); printf ("New Record has id %d.\n", $db->Insert_id());