php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "item quantities"

How can a menu item be displayed only after a user has logged in using PHP?

To display a menu item only after a user has logged in using PHP, you can check the user's login status and conditionally display the menu item based...

What potential pitfalls should be considered when assigning quantities to products in a shopping cart system using PHP and MySQL?

One potential pitfall to consider when assigning quantities to products in a shopping cart system using PHP and MySQL is ensuring that the quantity va...

How can arrays be used to calculate invoices directly in PHP?

To calculate invoices directly in PHP using arrays, you can create an array to store the prices of each item and another array to store the quantities...

In PHP, what are some alternative methods for passing item IDs to a shopping cart script other than using GET parameters in the URL?

Passing item IDs through GET parameters in the URL can expose sensitive information and potentially lead to security vulnerabilities. One alternative...

What are some best practices for utilizing explode to extract the last item in a string?

When using explode to extract the last item in a string, it is important to remember that explode returns an array of substrings. To get the last item...

Showing 46 to 50 of 624 results

‹ 1 2 ... 7 8 9 10 11 12 13 ... 124 125 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.