mysql_insert_id();
When I wanted to get the last inserted record from a database I would enter the following:
$_SESSION['svClinetID'] = mysql_insert_id();
I am trying to do that with mysqli and it doesn't seem to work
$_SESSION['svClinetID'] = mysqli_insert_id($connIO_i);