mysql thread id

mysql_thread_id — Devuelve el ID del hilo actual
Descripción
int mysql_thread_id ( [resource $id_enlace] )

Recupera el ID del hilo actual. Si la conexión se ha perdido, y se ejecuta una reconexión con mysql_ping(), el ID del hilo cambiará. Esto quiere decir que sólo obtenga el ID del hilo cuando lo necesite.
Lista de parámetros
link_identifier The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect() is assumed. If no such link is found, it will try to create one as if mysql_connect() was called with no arguments. If by chance no…

Leer artículo completo →