Retrieving data from MySQL
#1

Hello..

I'm struggling with a MySQL issue. Going to retrieve data from a field. Such as the players level, money and so on.

Using this MySQL connector.

Source:
Код:
	format(query, sizeof(query), "SELECT * FROM `players` WHERE `name` = '%s';", tempname);
	mysql_query(query); mysql_store_result();
	
	mysql_fetch_field("level",  data);
	PlayerInfo[playerid][pLevel] = strval(data);
The Warning:
Код:
C:\Users\rAped\Desktop\HDRP NEW!\gamemodes\hd-rp.pwn(386) : warning 213: tag mismatch
Reply
#2

Which line is 386?

This forum requires that you wait 120 seconds between posts. Please try again in 3 seconds.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)