php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "text code"

How can one effectively search for PHP code within a larger text using regular expressions in PHP?

When searching for PHP code within a larger text using regular expressions in PHP, you can use the preg_match_all function to find all occurrences of...

How can PHP developers optimize their code when using functions like eregi_replace for text formatting?

When using functions like eregi_replace for text formatting in PHP, developers can optimize their code by switching to the preg_replace function. preg...

Are there any best practices for incorporating HTML code before and after selected text in a textarea using PHP?

When incorporating HTML code before and after selected text in a textarea using PHP, you can achieve this by getting the selected text, adding the HTM...

What are some common methods for displaying PHP code as plain text on a website?

When displaying PHP code as plain text on a website, it is important to prevent the code from being executed by the server. One common method is to us...

How can a PHP user display an image instead of text in existing code?

To display an image instead of text in existing PHP code, you can use the `<img>` tag in HTML within the PHP code. Make sure to specify the correct pa...

Showing 21 to 25 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.