php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "wildcards"

What are the limitations of using LIKE with wildcards for search queries in PHP and how can they be overcome for better performance?

Using LIKE with wildcards in search queries can be inefficient for large datasets because it does not utilize indexes effectively. To overcome this li...

What are the potential pitfalls of using LIKE in MySQL queries in PHP?

Using LIKE in MySQL queries can be inefficient, especially when searching for patterns at the beginning of a string. This is because MySQL cannot util...

What are the potential pitfalls of using wildcard (*) in SQL queries, and how can it be replaced with specific field names for better performance and security?

Using wildcards (*) in SQL queries can lead to potential pitfalls such as fetching unnecessary data, decreased performance due to retrieving all colum...

Are there any specific considerations to keep in mind when using mysql_real_escape_string in a LIKE query in PHP?

When using mysql_real_escape_string in a LIKE query in PHP, it is important to note that the function does not escape wildcards like '%' and '_'. This...

What are some best practices for troubleshooting issues with the "glob" function in PHP?

Issue: The "glob" function in PHP may not return the expected results when trying to retrieve files using wildcards in the file path. Solution: To tr...

Showing 41 to 45 of 93 results

‹ 1 2 ... 6 7 8 9 10 11 12 ... 18 19 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.