php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "date storage"

What are the security implications of directly passing user input from JavaScript to PHP for database storage, especially when dealing with date values?

Passing user input directly from JavaScript to PHP for database storage can pose security risks such as SQL injection attacks. To mitigate this risk,...

Why is it recommended to use the DATE field type instead of German date formats in MySQL?

Using the DATE field type in MySQL is recommended over German date formats because it ensures consistent storage and manipulation of dates in the data...

What are the best practices for displaying server storage information in a CMS using PHP?

When displaying server storage information in a CMS using PHP, it is important to ensure that the information is accurate, up-to-date, and presented i...

What is the appropriate format for passing the current date and time to be stored in a database column with DATETIME or DATE data type in PHP?

When storing the current date and time in a database column with DATETIME or DATE data type in PHP, you can use the `date()` function along with the `...

What is the difference between storing date and time values in a database as TEXT versus using DATETIME or DATE types in PHP?

Storing date and time values as TEXT in a database can lead to inefficiencies in terms of storage space and querying performance compared to using DAT...

Showing 36 to 40 of 9913 results

‹ 1 2 ... 5 6 7 8 9 10 11 ... 1982 1983 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.