[MySQL] Text loading from database
#1

Hello, I have this problem with loading text from my MySQL database.

pawn Код:
mysql_fetch_field( "name", DataString );
format(factioninfo[ idx ][ FactionName ], 256, "%s",(DataString));
But for some reason it returns the first 2 charecters of the text. I use this to get all text information from the server but it only returns the first 2 charecters from the database.

For example my first faction name in the database is 'Civilian' but it only shows: 'Ci'

Anyone know what I am doing wrong?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)