php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "d"

What are common date formats used in PHP for storing dates in a MySQL database?

When storing dates in a MySQL database using PHP, it is important to use a common date format that MySQL understands. Two common date formats that can...

What are common patterns for recognizing specific values within a string in PHP, such as "A-(6 digit number)" or "(8 digit number)-(7 digit number)"?

When trying to recognize specific patterns within a string in PHP, regular expressions are commonly used. Regular expressions allow you to define a pa...

d. How can you assign different sizes to table fields within a loop in PHP?

When working with tables in PHP, you may need to assign different sizes to table fields within a loop. One way to achieve this is by using an array to...

What is the best way to format a date in PHP to display only the day and month without the year?

To format a date in PHP to display only the day and month without the year, you can use the `date()` function along with the `d` and `m` format charac...

What are the best practices for converting date values to a specific format in PHP?

When converting date values to a specific format in PHP, the best practice is to use the DateTime class along with the format() method to ensure consi...

Showing 46 to 50 of 370 results

‹ 1 2 ... 7 8 9 10 11 12 13 ... 73 74 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.