Loading cars
#2

the cache rows are determined by the results that you get from your SELECT queries

they go from 0 to n

Some pseudo code, to show you what you could do:

PHP код:
mysql_tquery(sqlHandle"SELECT * FROM cars WHERE Owner='Username'""callback");
forward callback();
public 
callback()
{
    new 
rowcount;
    
cache_get_row_count(rowcount);
    
    for(new 
0rowcounti++)
    {
        
cache_get_value_name("VARIABLE NAME"putInHere);
        
loadCar(putInHere);
    }
    

Reply


Messages In This Thread
Loading cars - by GoldenLion - 24.12.2016, 13:15
Re: Loading cars - by BiosMarcel - 24.12.2016, 13:39
Re: Loading cars - by GoldenLion - 24.12.2016, 18:21

Forum Jump:


Users browsing this thread: 1 Guest(s)