MYSQL Help !!
#7

Here's an example to loop and get data each rows:
Code:
mysql_tquery(g_Sql, "SELECT * FROM  tree", "OnLoadingTree");

public OnLoadingTree()
{
	new rows;
	cache_get_row_count(rows);
	for(new i; i < rows; i++) {
		// loop each rows
		// use cache_get_value_* to get field data
	}
}
Reply


Messages In This Thread
MYSQL Help !! - by ManIsHere - 12.03.2017, 08:05
Re: MYSQL Help !! - by sizeof - 12.03.2017, 08:10
Re: MYSQL Help !! - by Unte99 - 12.03.2017, 08:11
Re: MYSQL Help !! - by ManIsHere - 12.03.2017, 09:01
Re: MYSQL Help !! - by ManIsHere - 12.03.2017, 18:25
Re: MYSQL Help !! - by ManIsHere - 13.03.2017, 06:43
Re: MYSQL Help !! - by X337 - 13.03.2017, 07:14
Re: MYSQL Help !! - by ManIsHere - 13.03.2017, 08:06
Re: MYSQL Help !! - by ManIsHere - 13.03.2017, 10:34
Re: MYSQL Help !! - by GTLS - 13.03.2017, 10:48
Re: MYSQL Help !! - by X337 - 13.03.2017, 10:50
Re: MYSQL Help !! - by Unte99 - 13.03.2017, 10:54
Re: MYSQL Help !! - by ManIsHere - 13.03.2017, 11:45

Forum Jump:


Users browsing this thread: 2 Guest(s)