php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "text format"

Are there any best practices to keep in mind when working with number formatting in PHP?

When working with number formatting in PHP, it is important to keep in mind the desired format, such as decimal places, thousands separators, and curr...

How can timestamps be converted back to readable date formats in PHP after calculations have been performed?

After performing calculations with timestamps in PHP, you can convert them back to readable date formats using the date() function. This function take...

What are some alternative methods or functions in PHP for validating input fields, such as using is_numeric for postal codes?

When validating input fields in PHP, it's important to use appropriate functions to ensure the data is in the correct format. For postal codes, using...

What potential pitfalls can arise when saving dates in PHP to a database, as seen in the provided code snippet?

When saving dates in PHP to a database, a potential pitfall is not using the correct format for the date. This can lead to incorrect date values being...

What are the potential pitfalls of using substr() to extract specific parts of a date in PHP?

Using substr() to extract specific parts of a date in PHP can be risky because it assumes a fixed format for the date string. If the format changes or...

Showing 9946 to 9950 of 10000 results

‹ 1 2 ... 1987 1988 1989 1990 1991 1992 1993 ... 1999 2000 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.