11.07.2018, 14:10
PHP код:
new Cache:result = mysql_query(DB, "SELECT * FROM `Test`");
for(new i, j = cache_num_rows(); i != j; ++i)
{
cache_get_value_name(i, "Name", Company[Name], 30);
cache_get_value_name(i, "Location", Company[Location], 30);
cache_get_value_int(i, "Cash", Company[Cash]);
}