example i have this data in my fvault file:
"Name" "1 2"
and my questions is:
How can i make a for and obtain all data? i tried this, but doesn't work ;(
PHP Code:
static Data[512], Name[33], Num1[11], Num2[11];
for( new i = 1; i <= 20; i++ )
{
get_user_name( i, Name, 32 )
if( fvault_get_data( DataBase, Name, Data, 511 ) )
{
parse( Data, Num1, 10, Num2, 10 )
client_print( id, print_console, "Names: %s", Name )
client_print( id, print_console, "Nums: %i-%i", str_to_num( Num1 ), str_to_num( Num2 ) )
}
else
{
client_print( id, print_console, "No data" )
break;
}
}
PD: And in the for, how can i obtain automatically the size of all data? example i push 20, but if is more? Thanks.
Excuse my little english