18.01.2019, 09:44
Read wiki first if you are new to mysql, or use sublime text with samp pawn support to helping you knowing the function of mysql.
cache_get_row_count = getting the row result, like if you have a 5 row, then this gonna store to var not connection handle.
cache_get_row_count = getting the row result, like if you have a 5 row, then this gonna store to var not connection handle.
PHP код:
new rows;
cache_get_row_count(rows);
if(rows >= 5)
{
//do something here
}
else
{
}