MySQL string saving.
#3

The strlen function is for getting the length of the string and returning it, why not simply assign the string passed by the MySQL function straight into the variable you want it in? For example:

pawn Код:
mysql_fetch_field_row(Faction[playerid], "Faction");
Reply


Messages In This Thread
MySQL string saving. - by Kingunit - 06.11.2011, 14:50
Re: MySQL string saving. - by AndreT - 06.11.2011, 17:04
Re: MySQL string saving. - by JaTochNietDan - 06.11.2011, 17:07
Re: MySQL string saving. - by AndreT - 06.11.2011, 17:11
Re: MySQL string saving. - by JaTochNietDan - 06.11.2011, 17:25

Forum Jump:


Users browsing this thread: 2 Guest(s)