php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "format strings"

How can you combine date and time input fields from a form in PHP to create a valid datetime format for MySQL?

When combining date and time input fields from a form in PHP to create a valid datetime format for MySQL, you can use the `date()` function to format...

How can strings be converted to hex characters for manipulation in PHP?

To convert strings to hex characters in PHP, you can use the `bin2hex()` function. This function takes a string as input and returns the hexadecimal r...

What is the correct way to concatenate date and time strings in PHP for MySQL DateTime storage?

When concatenating date and time strings in PHP for MySQL DateTime storage, it is important to ensure that the date and time formats are compatible wi...

How can PHP be used to manipulate and organize date strings without using SQL queries?

To manipulate and organize date strings in PHP without using SQL queries, you can use built-in PHP functions like strtotime(), date(), and strtotime()...

What is the best practice for comparing numbers in string format in PHP?

When comparing numbers in string format in PHP, it is important to convert the strings to actual numbers before comparison to ensure accurate results....

Showing 51 to 55 of 10000 results

‹ 1 2 ... 8 9 10 11 12 13 14 ... 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.