php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "line 30"

Is subtracting 30 * 86400 seconds from a timestamp the correct way to go about calculating a date 30 days prior?

Subtracting 30 * 86400 seconds from a timestamp is not the correct way to calculate a date 30 days prior because not all months have the same number o...

Are there best practices for handling file paths and names in PHP scripts to avoid errors like Parse error in line 30?

When handling file paths and names in PHP scripts, it is important to ensure that they are properly formatted and escaped to avoid errors like Parse e...

How can removing a curly brace in line 30 resolve the parse error issue mentioned in the forum thread?

The parse error issue mentioned in the forum thread is likely caused by a mismatched number of opening and closing curly braces in the PHP code. Remov...

What is the function in PHP to add 30 minutes to the current timestamp?

To add 30 minutes to the current timestamp in PHP, you can use the `strtotime()` function to create a new timestamp by adding 30 minutes to the curren...

How can you check if a timestamp is older than 30 minutes in PHP?

To check if a timestamp is older than 30 minutes in PHP, you can compare the timestamp with the current time minus 30 minutes. You can achieve this by...

Showing 1 to 5 of 5376 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1075 1076 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.