php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "NOW()"

How can using quotes around the NOW() function in a MySQL query affect the data being inserted into a DATETIME field?

Using quotes around the NOW() function in a MySQL query will insert the literal string "NOW()" into the DATETIME field instead of the current date and...

How can the now() function be properly utilized in PHP for updating datetime values in a database?

When updating datetime values in a database using PHP, the now() function can be utilized to automatically insert the current date and time. This can...

What are the potential pitfalls of using the NOW() function in MySQL queries for timestamp entries?

Using the NOW() function in MySQL queries for timestamp entries can lead to inconsistent results if there is a delay between when the query is execute...

What are the advantages of using NOW() over Current_Date in SQL queries in PHP?

Using NOW() in SQL queries in PHP provides the advantage of including both the date and time in the result, whereas Current_Date only includes the dat...

How can the NOW() function in MySQL be integrated into a PHP script for inserting current dates?

To integrate the NOW() function in MySQL into a PHP script for inserting current dates, you can simply include the NOW() function in your SQL query wh...

Showing 6 to 10 of 180 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 35 36 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.