[Ajuda] Pegar ids MySQL
#2

PHP код:
mysql_tquery(AMySQL"SELECT * FROM casas""query_LoadAllHouses");
forward query_LoadAllHouses();
public 
query_LoadAllHouses()
{
    new 
rows cache_num_rows();
    
    new 
HouseIDlevelpreco;
    
    for(new 
0rowsi++)
    {
        
cache_get_value_name_int(i"id"HouseID); //vocк tambйm pode usar uma array no lugar da variбvel, como House[i][hID]
        
cache_get_value_name_int(i"preco"preco);
        
cache_get_value_name_int(i"level"level);
        
//e assim continua...
    
}
    return 
1;

Reply


Messages In This Thread
Pegar ids MySQL - by capron - 05.03.2018, 05:05
Re: Pegar ids MySQL - by RodrigoMSR - 05.03.2018, 15:38

Forum Jump:


Users browsing this thread: 1 Guest(s)