02.07.2016, 09:31
Quote:
Fixed. Thanks @xJayce @BroZeus
When the row is 1? ( cache_get_row(1 ,....) ) Thanks. |
Example :
PHP код:
mysql_function_query(1, "SELECT id FROM `users`", true, "Just_a_Example", "");//see the query it will select id of all users
public Just_a_Example()
{
new rows = cache_get_row_count();//get num of rows in result
for(new i = 0;i < rows; i++)
{
new id = cache_get_row_int(i, 0);//number of row changes here, see the 'i'
printf("User id :%d row: %d", id, i);
}
return 1;
}