PHP mysqli_thread_id() function returns the thread ID for the current connection.
Syntax
Parameter | Description |
---|---|
connection : | Required parameter. The MySQL connection to be used |
Return Values : | Returns a buffered result object or FALSE if an error occurred. |