php script error gving wrong output
<p>I am having a little trouble regarding working out 20% of a total when testing I select it so the value of the 'basket' is 60, I would like it to display 60 (which it does) but then it should work out 60 + 20% which should give the reading 72 but insted it gives 144 I was wondering if you peeps could help          </p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
    &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
    &lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
    &lt;title&gt;Feet First&lt;/title&gt;
    &lt;link href="css/style.css" rel="stylesheet" type="text/css" /&gt;
    &lt;/head&gt;

    &lt;body&gt;
    &lt;!-- The container holds the entire website everything else is 'contained' within the container --&gt;
    &lt;div class="container"&gt;
      &lt;div class="header"&gt;

        &lt;img src="header.png" alt="logo" width="892" height="142" id="logo" /&gt;
    &lt;/div&gt;
      &lt;!-- The content divis the Secondary layer which contains the content of the webiste such as text and images.  --&gt;
      &lt;div class="content"&gt; 
        &lt;!-- Navi is what hols the navigation links at the top of the page --&gt;
       &lt;div class="navi"&gt;
       &lt;!-- this is the unordered list for the menu items --&gt;
       &lt;ul id="menu"&gt;
       &lt;li&gt;&lt;a href="\index.html"&gt;Home&lt;/a&gt;&lt;/li&gt;
       &lt;li&gt;&lt;a href="\trainers.html"&gt;Trainers&lt;/a&gt;&lt;/li&gt;
       &lt;li&gt;&lt;a href="\order.html" &gt;Order&lt;/a&gt;&lt;/li&gt;
       &lt;li&gt;&lt;a href="\credits.html"&gt;Credits&lt;/a&gt;&lt;/li&gt;
       &lt;li&gt;&lt;/li&gt;
       &lt;li&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/div&gt;

    &lt;div class="content"&gt;&lt;/div&gt;



        &lt;h1&gt;Thank you for your order!&lt;/h1&gt;
    &lt;?php

    // sents the value of the items
      $extraValues = array(
          'Laces' =&gt; 5,
          'Shoe Polish' =&gt; 10,
          'In-souls' =&gt; 15
       );

       $trainerValues = array(
          'Lacoste' =&gt; 50,
          'K-Swiss' =&gt; 45,
          'Puma' =&gt; 59,
          'Converse' =&gt; 65
       );

       if(isset($_POST['firstname'])){
          $firstname = $_POST['firstname'];
          echo " $firstname ";
       }

       if(isset($_POST['lastname'])){
        $lastname = $_POST['lastname'];
        echo "$lastname &lt;br /&gt;\n";
       }

      if(isset($_POST['add1'])){
        $add1 = $_POST['add1'];
        echo "$add1 &lt;br /&gt;\n";
      }

     if(isset($_POST['add2'])){
      $add2 = $_POST['add2'];
      echo "$add2 &lt;br /&gt;\n";
     }

      if(isset($_POST['postcode'])){
        $postcode = $_POST['postcode'];
        echo "$postcode &lt;br /&gt;\n";
      }

      if(isset($_POST['email'])){
        $email = $_POST['email'];
        echo "Contact Email Address $email &lt;br /&gt;\n";
      }

      if(isset($_POST['telephone'])){
      $telephone = $_POST['telephone'];
      echo "Contact Telephone Number $telephone &lt;br /&gt;\n";
      }

      if(isset($_POST['contact'])){
      $contact = $_POST['contact'];
      echo "You would like to be contacted by $contact &lt;br /&gt;\n";
      }

      if(isset($_POST['trainers'])){
      $trainers = $_POST['trainers'];
      echo "The trainers you would like are $trainers &lt;br /&gt;\n";
      }



      if(isset($_POST['extras'])){
      $extras = $_POST['extras'];
      echo "The extras you would like are $extras &lt;br /&gt;\n";
      }



       $extraCost = 0;
       $trainerCost= 0;
       $totalCost= 0;
       $totalCostV= 0;

        $extra = $_POST['extras'];

        if (array_key_exists($extra, $extraValues)) {
             $extraCost = (float) $extraValues[$extra]; 
            echo "The cost of your extras are &amp;pound; $extraCost&lt;br /&gt;\n";
        } 


        $trainer = $_POST['trainers'];

        if (array_key_exists($trainer, $trainerValues)) { 
            $trainerCost = (float) $trainerValues[$trainer]; 
            echo "The cost of your Trainers are &amp;pound; $trainerCost&lt;br /&gt;\n";
        }

        $totalCost = round($extraCost+$trainerCost+$totalCost); 
      echo "The cost of your Trainers are (Excluding 20% tax) &amp;pound; $totalCost&lt;br /&gt;\n";


      $totalCostV = round(($extraCost+$trainerCost+$totalCost)*1.20,2); 
      echo "The cost of your Trainers are (including 20% tax) &amp;pound; $totalCostV&lt;br /&gt;\n";
    ?&gt;
      &lt;/div&gt;

      &lt;!-- Holds the foorter information --&gt;
      &lt;div class="footer"&gt;
        &lt;p&gt;&amp;#169; 2010 FeetFirst Uk Ltd &lt;/p&gt;
        &lt;/div&gt;

      &lt;/div&gt; 

    &lt;/body&gt; 
</code></pre>
