php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "search terms"

What are the best practices for handling multiple search terms in PHP scripts for database queries?

When handling multiple search terms in PHP scripts for database queries, it is best to use prepared statements to prevent SQL injection attacks. Addit...

How can I search a SQL table using PHP for specific terms in two columns?

To search a SQL table using PHP for specific terms in two columns, you can use a SELECT query with the WHERE clause to specify the conditions for the...

How can PHP developers ensure that search terms are properly marked without interfering with HTML or BBCode in a forum?

To ensure that search terms are properly marked without interfering with HTML or BBCode in a forum, PHP developers can use regular expressions to matc...

How can PHP be used to search for multiple terms in a MySQL database?

When searching for multiple terms in a MySQL database using PHP, you can use the "LIKE" operator in your SQL query along with the "%" wildcard to matc...

Are there alternative methods or libraries in PHP that can be used to highlight search terms in database output more efficiently than str_replace, str_ireplace, or preg_replace?

Highlighting search terms in database output can be done more efficiently using the `preg_replace` function with a regular expression pattern to match...

Showing 36 to 40 of 7031 results

‹ 1 2 ... 5 6 7 8 9 10 11 ... 1406 1407 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.