What is better to use with MySQL?
#1

I'm debating myself on a couple things, one of which is the method to 'fetch' data from a MySQL database. So which way it best?

1. Fetching each field one by one using

pawn Код:
native mysql_fetch_field
2. Or Using SSCANF and doing something like this?

pawn Код:
mysql_fetch_row(Query, "|");
sscanf(Query, "e<p<|>ds[23]s[30]ddfffdddddddddddd>", PlayerStatistics[playerid]);
Reply


Messages In This Thread
What is better to use with MySQL? - by Scenario - 14.09.2010, 22:32
Re: What is better to use with MySQL? - by [L3th4l] - 14.09.2010, 22:46
Re: What is better to use with MySQL? - by Scenario - 14.09.2010, 22:55
Re: What is better to use with MySQL? - by mick88 - 15.09.2010, 03:47
Re: What is better to use with MySQL? - by Scenario - 15.09.2010, 13:10
Re: What is better to use with MySQL? - by Cameltoe - 15.09.2010, 13:12
Re: What is better to use with MySQL? - by playbox12 - 15.09.2010, 13:34

Forum Jump:


Users browsing this thread: 1 Guest(s)