[MySQL] How to get the next row data?
#1

here is my code
Код:
public OnQueryFinish(query[], resultid, extraid, connectionHandle)
{
	if(resultid == CreateTask)
	{
		new result[100], result2[100];
		printf(query);
		mysql_store_result();
	 	mysql_fetch_row_format(result, " ");
	 	printf("result:%s",result);
	 	while(mysql_retrieve_row())
	 	{
	 		mysql_store_result();
			mysql_fetch_row_format(result2, " ");
	 		printf("result:%s",result2);
		}
		mysql_free_result();
	}
	return 1;
}
why i cannot get the next row data?
How should i get it?
Reply


Messages In This Thread
[MySQL] How to get the next row data? - by jeffleung2 - 16.01.2014, 06:38
Re: [MySQL] How to get the next row data? - by Vince - 16.01.2014, 07:56
Re: [MySQL] How to get the next row data? - by jeffleung2 - 16.01.2014, 14:46

Forum Jump:


Users browsing this thread: 1 Guest(s)