php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "bad coding practice"

How can one differentiate between good and bad practices in PHP coding?

One way to differentiate between good and bad practices in PHP coding is by following established coding standards such as PSR-1 and PSR-2. These stan...

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...

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.