SQL_GetRowCount
Hey. I'm running into some confusion with SourceMod's SQL_GetRowCount.
I'm able to create tables, insert/update data etc. But the following code always returns 1: PHP Code:
|
Re: SQL_GetRowCount
Because the number of rows returned is not the same number as COUNT(*).
It returns 1 row with the value of the COUNT(*). So you have to fetch the first integer value from the row given. |
Re: SQL_GetRowCount
Ah. Thank you.
|
All times are GMT -4. The time now is 19:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.