php.org PHP Logo
Beginner Intermediate Advanced

Search results for: ""\r\n""

What are some best practices for creating formatted text files in PHP to ensure proper printing on dot matrix printers?

When creating formatted text files in PHP for printing on dot matrix printers, it is important to ensure that the text is properly aligned and formatt...

What alternative technologies or techniques can be used for remote controlling websites instead of PHP?

Alternative technologies or techniques for remote controlling websites instead of PHP include Node.js, Python, Ruby on Rails, and ASP.NET. These langu...

What are the potential pitfalls of using nl2br in conjunction with textareas in PHP?

When using nl2br with textareas in PHP, the newline characters (\n) in the textarea content will be converted to <br> tags when displayed. This can le...

What are the benefits of using a hash (associative array) instead of a text file for replacing smilies in PHP code?

Using a hash (associative array) instead of a text file for replacing smilies in PHP code can provide faster lookups and easier maintenance. Hash look...

How can the use of nl2br, str_replace, preg_replace, and strtr functions in PHP help address issues with line breaks in MySQL data for PDF output?

When retrieving data from MySQL to generate PDF output, line breaks stored in the database may not be displayed correctly. Using the nl2br function ca...

Showing 936 to 940 of 988 results

‹ 1 2 ... 185 186 187 188 189 190 191 ... 197 198 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.