got a num of row in mysql
#3

here's an exemple :

pawn Код:
mysql_query("SELECT NULL FROM table1");
mysql_store_result();
new rows = mysql_num_rows();
mysql_free_result();
 
printf("There are %d rows in table1",rows);
Reply


Messages In This Thread
get a number of row in mysql - by TakeAllEasy - 18.04.2014, 10:57
Re: got a num of row in mysql - by TakeAllEasy - 19.04.2014, 21:56
Re : got a num of row in mysql - by Ramoboss - 19.04.2014, 22:27
Re: Re : got a num of row in mysql - by TakeAllEasy - 19.04.2014, 22:32
Re : got a num of row in mysql - by Ramoboss - 19.04.2014, 22:36

Forum Jump:


Users browsing this thread: 2 Guest(s)