Loading MySQL data in Enum
#1

Hey guys,

Im not sure how im able to transfer data that are 'stored' in MySQL, to an enum.

Would it work like this, or wouldnt this work at all (or is there a better way?)?
pawn Код:
while( mysql_fetch_row_format( query, "|" ) )
{
    mysql_fetch_field_row( savingstring, "Naam" );
    PlayerInfo[playerid][Naam] = savingstring;
    mysql_fetch_field_row( savingstring, "Score" );
    PlayerInfo[playerid][Score] = savingstring;
}
~Wesly
Reply


Messages In This Thread
Loading MySQL data in Enum - by Wesley221 - 06.01.2012, 16:36
Re: Loading MySQL data in Enum - by Luis- - 06.01.2012, 16:40
Re: Loading MySQL data in Enum - by Wesley221 - 06.01.2012, 16:43
Re: Loading MySQL data in Enum - by Luis- - 06.01.2012, 16:44
Re: Loading MySQL data in Enum - by Wesley221 - 06.01.2012, 16:47

Forum Jump:


Users browsing this thread: 3 Guest(s)