17.10.2010, 14:55
Hello community,
I have found some error...
In the orginal thread G-sTyLeZzZ write:
...but in the wiki he writes:
So my question, which of them two is now the RIGHT usage?
Is "mysql_ping()" 1 = alive or 1 = dead??
Greetings - Fake
I have found some error...
In the orginal thread G-sTyLeZzZ write:
Quote:
# mysql_ping( [connectionHandle = 1] ) * Returns true (1) if the connection is alive, else (-1) |
Quote:
0 if alive, 1 if dead. if(!mysql_ping()) print("MySQL connection is still alive!"); if(mysql_ping()) print("MySQL connection is dead!"); |
Is "mysql_ping()" 1 = alive or 1 = dead??
Greetings - Fake