Is there any way to load the columns in Mysql database with a loop?
I have the following columns in the database:
I tried something like that, but I think it's got to be formatted, I do not know how.
I have the following columns in the database:
Code:
Object1, Object2, Object3, Object4, Object5
Code:
if(cache_num_rows() > 0)
{
for(new i=0; t < 5; i++)
{
cache_get_value_int(0, "Object%d", Player[playerid][Object][%d]);
}
}