open_in_new
content_copy
$lastid = $wpdb->insert_id;