php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "highlight function"

How can PHP be used to highlight specific text in a MySQL database search result?

To highlight specific text in a MySQL database search result using PHP, you can use the `str_replace` function to replace the text with an HTML tag th...

How can you highlight a specific value in a table using PHP?

To highlight a specific value in a table using PHP, you can add a conditional statement within the loop that generates the table rows. Within this sta...

What are some potential pitfalls when trying to highlight PHP code within a string?

When trying to highlight PHP code within a string, one potential pitfall is that the PHP code within the string may not be executed or highlighted cor...

What parameters need to be added to the preg_replace function to properly highlight content in bbcode?

When using the preg_replace function to highlight content in bbcode, you need to add the 'i' parameter to make the pattern matching case-insensitive....

How can PHP be used to highlight syntax in an HTML page?

To highlight syntax in an HTML page using PHP, you can use a library like GeSHi (Generic Syntax Highlighter). GeSHi supports a wide range of programmi...

Showing 11 to 15 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.