php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "new post"

How can PHP scripts be instructed to start a new line for each post in a file?

To start a new line for each post in a file using PHP scripts, you can use the "\n" or PHP_EOL constant to insert a line break after each post. This w...

How can the issue of losing POST variables when generating a new page be avoided in PHP?

When generating a new page in PHP, the issue of losing POST variables can be avoided by using sessions to store the POST data temporarily and then ret...

How can PHP be used to determine which forum threads a user has not read or where a new post has been created?

To determine which forum threads a user has not read or where a new post has been created, you can store the last read post ID for each user in a data...

How can one check if a post with a specific title already exists in a phpBB forum before creating a new one?

To check if a post with a specific title already exists in a phpBB forum before creating a new one, you can query the database to see if any posts alr...

What is the best practice for updating a timestamp in a MySQL table every time a new post is made in a forum thread?

To update a timestamp in a MySQL table every time a new post is made in a forum thread, you can use a trigger in MySQL. By creating a trigger that upd...

Showing 1 to 5 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 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.