About 53 results
Open links in new tab
  1. How can I count the numbers of rows that a MySQL query returned?

    You don't say what language or client library you are using, but the API does provide a mysql_num_rows function which can tell you the number of rows in a result. This is exposed in PHP, for example, as …

  2. php - What does MYSQLI_NUM mean and do? - Stack Overflow

    Nov 6, 2009 · MYSQLI_NUM is a constant in PHP associated with a mysqli_result. If you're using mysqli to retrieve information from the database, MYSQLI_NUM can be used to specify the return format of …

  3. SELECT COUNT () vs mysql_num_rows (); - Stack Overflow

    When using mysql_num_rows, the server will process the entire result set, allocate memory for all those results, and put the server in fetching mode, which involves a lot of different details, such as locking. …

  4. php - MySQL mysql_num_rows (); - Stack Overflow

    Dec 19, 2013 · MySQL mysql_num_rows (); Asked 12 years, 1 month ago Modified 12 years, 1 month ago Viewed 28k times

  5. Warning: mysql_num_rows (): supplied argument is not a valid MySQL ...

    0 From the PHP docs: Retrieves the number of rows from a result set. This command is only valid for statements like SELECT or SHOW that return an actual result set. To retrieve the number of rows …

  6. php - mysql_num_rows () expects parameter 1 to be resource, boolean ...

    Oct 14, 2011 · Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\Program Files (x86)\EasyPHP-5.3.5.0\www\searchscript\search.php on line 86 I'll show you the …

  7. Call to undefined function MYSQL_NUM_ROWS() - Stack Overflow

    Call to undefined function MYSQL_NUM_ROWS () [duplicate] Asked 9 years, 7 months ago Modified 9 years, 7 months ago Viewed 54k times

  8. Proper way to ask if mysql_num_rows in PHP - Stack Overflow

    Sep 21, 2016 · Proper way to ask if mysql_num_rows in PHP Asked 14 years, 4 months ago Modified 9 years, 4 months ago Viewed 21k times

  9. Warning: mysql_num_rows (): supplied argument is not a valid MySQL ...

    Oct 20, 2012 · Warning: mysql_num_rows (): supplied argument is not a valid MySQL result resource in ../view-ind-order.php on line 28 This script is supposed to retrieve the order (from a page which lists …

  10. ¿Por qué mysql_num_rows me devuelve 1 si no hay registros en la …

    May 22, 2017 · ¿Por qué mysql_num_rows me devuelve 1 si no hay registros en la tabla de la base de datos? Formulada hace 8 años y 8 meses Modificada hace 4 años y 4 meses Vista 883 veces