php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "select count"

How can I count the number of records in a MySQL table using PHP?

To count the number of records in a MySQL table using PHP, you can execute a SQL query to select the count of rows from the table. This can be done by...

What is the best way to count all entries in a database using PHP?

To count all entries in a database using PHP, you can execute a SQL query to select all rows and then use the `rowCount()` method to get the total cou...

How can you retrieve the row count for multiple tables in MySQL using PHP?

To retrieve the row count for multiple tables in MySQL using PHP, you can execute a SELECT COUNT(*) query for each table and store the result in an ar...

Is it more efficient to directly query the database using SELECT COUNT(spalte) to retrieve the total number of online users in PHP?

When retrieving the total number of online users from a database in PHP, it is more efficient to directly query the database using SELECT COUNT(column...

How can PHP be used to count the number of existing entries in a database table?

To count the number of existing entries in a database table using PHP, you can execute a SQL query to select the count of rows in the table. This can...

Showing 26 to 30 of 5148 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1029 1030 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.