php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "bad practice"

What is the best practice for storing and retrieving bad words for a filter in PHP?

When creating a filter to detect and block bad words in PHP, it is best practice to store the list of bad words in a separate file or database for eas...

Why is using href="#" considered bad practice in PHP?

Using href="#" is considered bad practice because it creates a link that doesn't go anywhere, potentially causing confusion for users and affecting SE...

Why is using SELECT * considered bad practice in PHP queries?

Using SELECT * is considered bad practice in PHP queries because it retrieves all columns from a table, even those that are not needed. This can lead...

Why is using SELECT * considered bad practice in PHP database queries?

Using SELECT * is considered bad practice in PHP database queries because it retrieves all columns from the table, which can lead to unnecessary data...

Why is using $_REQUEST considered bad practice in PHP?

Using $_REQUEST in PHP is considered bad practice because it combines data from GET, POST, and COOKIE requests, which can lead to security vulnerabili...

Showing 1 to 5 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.