php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "price"

How are prices calculated (Quantity * Price = Total Price) and the total price calculated?

To calculate the total price, you need to multiply the quantity by the price. This can be done by using the formula: Total Price = Quantity * Price. T...

What are the differences between using "sort=price" and "sort=-price" in PHP when sorting Amazon API articles by price?

When sorting Amazon API articles by price, using "sort=price" will sort the articles in ascending order based on price, while using "sort=-price" will...

What is the formula to calculate the gross price (brutto) from the net price (netto) with a 20% tax rate in PHP?

To calculate the gross price from the net price with a 20% tax rate in PHP, you can use the formula: Gross Price = Net Price + (Net Price * Tax Rate)...

How can PHP be used to automatically display a price request button for products with a price of 0 in an online shop?

When products in an online shop have a price of 0, PHP can be used to automatically display a price request button instead of showing the price as 0....

How can you calculate the total price by multiplying the price and quantity for each item in a PHP array?

To calculate the total price by multiplying the price and quantity for each item in a PHP array, you can loop through the array and perform the multip...

Showing 1 to 5 of 196 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 39 40 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.