php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "preserve"

Are there any specific functions in PHP that can help preserve certain HTML tags while stripping others?

When working with user-generated content, you may want to preserve certain HTML tags (such as <b>, <i>, <a>, etc.) while stripping others (such as <sc...

What alternative approaches can be used to preserve existing content while adding new content to a file in PHP?

When adding new content to a file in PHP, one alternative approach to preserve existing content is to read the existing content, append the new conten...

How can PHP be used to preserve line breaks when storing text data in a database?

When storing text data in a database using PHP, line breaks can be lost if not handled properly. To preserve line breaks, you can use the PHP function...

How can the nl2br function in PHP be used to preserve line breaks when reassembling text from an array?

When reassembling text from an array in PHP, line breaks may be lost if not handled properly. To preserve line breaks, you can use the nl2br function,...

How can flags in localstorage be utilized to preserve sorting preferences in PHP applications across different browsers?

To preserve sorting preferences in PHP applications across different browsers, flags can be used in localstorage to store the sorting preference selec...

Showing 11 to 15 of 440 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 87 88 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.