Closed Walter-Correa closed 3 years ago
I'm using msql_query () and the OnQueryError callback doesn't work, so I was wondering how can I create a function to detect if the connection went down at any time?
Use mysql_errno to check for errors after calling mysql_query.
mysql_errno
mysql_query
EDIT: Thanks
I'm using msql_query () and the OnQueryError callback doesn't work, so I was wondering how can I create a function to detect if the connection went down at any time?