php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "periods"

Why is it important to replace commas with periods in numerical values when sorting arrays in PHP?

When sorting arrays in PHP, numerical values are compared as strings by default. If numerical values contain commas (for example, "1,000"), PHP will t...

How can preg_match be used to search for special characters like periods in PHP?

To search for special characters like periods using preg_match in PHP, you can use a regular expression pattern that includes the period character (.)...

What are some methods in PHP for formatting numbers with punctuation like commas or periods?

When working with numbers in PHP, it is common to need to format them with punctuation such as commas or periods to make them more readable. One simpl...

How can punctuation marks like periods be removed from CSV data before inserting into a database in PHP?

To remove punctuation marks like periods from CSV data before inserting into a database in PHP, you can use the `str_replace()` function to replace th...

What is the best way to implement a feature in PHP that blocks access to a website during predefined time periods, based on data from a MySQL database?

To implement a feature in PHP that blocks access to a website during predefined time periods based on data from a MySQL database, you can create a fun...

Showing 46 to 50 of 184 results

‹ 1 2 ... 7 8 9 10 11 12 13 ... 36 37 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.