17.10.2010, 16:15
Hello guys,
I have found a very big bug!
The usage "mysql_ping()" is still write false in the wiki...
I tested it and found the following...
But...
That means, the function "if(mysql_ping())" returns 1 - ALIVE and 0 - DEATH.
On the other side it's not logical for MySQL to return " !mysql_ping() " as true, because ! means false...
Thats the right return and I tested it again and again, thats okay!
So for alle the guys who has problems, fix this and don't do it like the wiki!
Greetings - 4#Future
I have found a very big bug!
The usage "mysql_ping()" is still write false in the wiki...
I tested it and found the following...
Code:
if(mysql_ping()) { CONNECTION is true }
Code:
if(!mysql_ping()) { CONNECTION is false }
On the other side it's not logical for MySQL to return " !mysql_ping() " as true, because ! means false...
Thats the right return and I tested it again and again, thats okay!
So for alle the guys who has problems, fix this and don't do it like the wiki!
Greetings - 4#Future