01.06.2012, 22:29
I started using r7 plugin today, and I have a question. I am trying to get highest field `ID` value, I tried to do something, but it always returns 1.
pawn Код:
mysql_function_query(iHandle, "SELECT MAX(ID) FROM `test`", true, "Test", "");
}
forward Test();
public Test()
{
new rows, fields, temp[12];
cache_get_data(rows, fields);
printf("%d zaideju", rows);
}