How to load multiple rows in mysql
#4

Quote:
Originally Posted by ball
Посмотреть сообщение
I can't work with this plugin, but I can do it with StrickenKid's plugin

Код:
new s[100];

mysql_query("SELECT * from yourTable where SklypoID = 2");
mysql_store_result();

while(mysql_fetch_row(s, " "))
{
	//here use sscanf or mysql function to get data
}
mysql_free_result();
My plugin uses this:
Код:
sql_fetch_row(Result:result, sep[], dest[], dest_len = sizeof(dest));
How should I do it then? Thanks
Reply


Messages In This Thread
How to load multiple rows in mysql - by zaibaslr2 - 19.01.2015, 14:52
Re: How to load multiple rows in mysql - by ball - 19.01.2015, 16:02
Re: How to load multiple rows in mysql - by zaibaslr2 - 19.01.2015, 16:08
Re: How to load multiple rows in mysql - by zaibaslr2 - 23.01.2015, 18:01

Forum Jump:


Users browsing this thread: 1 Guest(s)