php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "guest 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...

When should you use count() and when should you use mysql_num_rows() in PHP to count results from a query?

When you are counting the number of rows returned from a query in PHP, it is recommended to use count() when working with arrays or objects, and mysql...

How can you count and output data records in PHP using PDO?

To count and output data records in PHP using PDO, you can execute a SQL query to count the number of records and then fetch and display the result. Y...

How can PHP accurately count the length of strings containing Umlauts in preg_match?

When using preg_match to count the length of strings containing Umlauts (such as ä, ö, ü), PHP may not accurately count the length due to the multi-by...

What are some functions in PHP that can be used to count files in a directory?

To count files in a directory using PHP, you can use the `scandir` function to get an array of all files in the directory, then use the `count` functi...

Showing 76 to 80 of 1828 results

‹ 1 2 ... 13 14 15 16 17 18 19 ... 365 366 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.