26.01.2019, 19:52
`cache_get_data` used to pass by reference the row count. You can just do:
or
Do not use `mysql_fetch_field_row` macro or whatever that is and then converting to integet/float using `strval` or `floatstr`. There are `cache_get_value_int` and `cache_get_value_float` functions.
pawn Code:
if (cache_num_rows())
{
// cache functions to retrieve
}
pawn Code:
new rows;
cache_get_row_count(rows);
if (rows)
{
// cache functions to retrieve
}

