Return rows
What consulte must be done in a plugin to give me back the number of rows that were obtained ?.
Example in PhpMyAdmin: PHP Code:
This number: 1,499 How do get in a Plugin ?. Sory for my english. |
Re: Return rows
If you execute that query, you can just use SQL_NumResults().
|
Re: Return rows
Thanks, i did not think. :mrgreen:
|
Re: Return rows
Or if you ONLY want to get the number of rows and not the values, this will be more efficient:
Code:
SELECT COUNT(*) FROM `table6` |
Re: Return rows
Quote:
|
| All times are GMT -4. The time now is 10:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.