Is it possible to get the insert id that is going to be inserted in a query?
So for example, is there something that could do something like:
$stmt = $cxn->prepare("INSERT INTO numbers (new_id) VALUES (?)");
$stmt->bind_param('i', GET_ID_BEING_INSERTED());
$stmt->execute();
Thanks.