Can't get data from table
#3

If you want to just count how many rows there are:
pawn Код:
new Cache: result = mysql_query(1, "SELECT COUNT(*) FROM houses");
printf("%i house(s) loaded", cache_get_row_int(0, 0));
cache_delete(result);
Reply


Messages In This Thread
Can't get data from table - by nezo2001 - 12.06.2015, 21:30
Re: Can't get data from table - by DarkLored - 12.06.2015, 21:35
Re: Can't get data from table - by Konstantinos - 12.06.2015, 21:37
Re: Can't get data from table - by nezo2001 - 12.06.2015, 21:39

Forum Jump:


Users browsing this thread: 1 Guest(s)