08.02.2014, 12:38
Hello guys, I am searching for MySQL plugin, newest && fastest one. Can someone advise me, which one is best to use?

if(mysql_ping() == 1) //this
{
print("Connection successfull!");
}
mysql_query(string); //mistmatch :O
print( ( !mysql_errno() ) ? ("Connection successfull") : ("Connection Failed") );

but if you know what is difference beetween pquery and tquery?
|
Originally Posted by SA-MP Wiki
myqsl_pquery sends a query which will be executed in another thread concurrently and calls the callback (if there is one) when the execution is finished.
mysql_tquery sends a query which will be executed in another thread and calls the callback (if there is one) when the execution is finished. |
//i know what it means but dont know in example