14.07.2011, 08:19
hello !
I did so with MAX function:
It always returns zero, what's the problem?
Thanks in advance helpers!
I did so with MAX function:
pawn Код:
new Props;
mysql_query("SELECT MAX(`ID`) FROM `Props`");
mysql_store_result();
if(mysql_retrieve_row()) Props = mysql_fetch_int();
mysql_free_result();
Thanks in advance helpers!