02.01.2015, 21:52
By using the function mysq_query. Make sure you delete its cache. For example;
Use cache_delete() if you don't need the query's result anymore or you will experience memory leaks.
More information: https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_query
pawn Код:
stock example
{
new example = mysql_query(conhandle, query[]);
//Your code...
cache_delete();
}
More information: https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_query