Help with coding

Hi I need some php coding for a shop I am constructing and I need some help. Below is what I need code for to calculate a final price. Can anyone help? Cheers

Orders of £60 and over £3.50

  silverous 22:44 31 May 06

not sure what you want - this isn't clear to me... is this the complete request?

What happens to orders of £60 and over?

  beynac 10:09 01 Jun 06

If my assumptions are correct, this should work. You would, of course, have to format the result but I have omitted that for clarity.

Code (within the php tags):
// Assume orders over £60 charged £3.50 ($ChargeOver) and under £60 charged zero ($ChargeUnder)
$ChargeOver = 3.5;
$ChargeUnder = 0;
if ($Order <= 60) {
$FinalPrice = ($Order + $ChargeUnder);
} else {
$FinalPrice = ($Order + $ChargeOver);

This thread is now locked and can not be replied to.

Qualcomm Snapdragon 835 benchmarks: Antutu, Geekbench 4, GFXBench and PCMark results

1995-2015: How technology has changed the world in 20 years

This stop-frame animation tells a moving story of domestic violence for Refuge

New iPad 2017 preview: Apple's affordable but underspecced new iPad may appeal to the education…