Jump to content

sigmon

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

sigmon's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. YOU ARE AWESOME $Adults - worked :) TAHNKS Sigmon
  2. Hi, I have a calculator on my site that adds up depending on the data passed over from the previous page I have just installed a new email script as other one went up the shoot so I have had to change from <?php echo $_POST["email"]; ?> to <?php print "$email";?> If i use the old version the data doesnt show, the calculator I'm using is <?php $_POST['Adults'] = '2'; $start = 80; $end = 0; unset($end); if("$kids" == '4'){ $end = $start + 17; }else{ $end = $start + 0; } if($_POST['wintersports'] == '7'){ $end = $end + 25; }elseif($_POST['wintersports'] == '14'){ $end = $end + 45; }else{ $end = $end + 0; } if($_POST['Age'] == '18-70'){ $end = $end + 0; }elseif($_POST['Age'] == '71+'){ $end = $end + 85; }else{ $end = $end + 0; } if(!isset($end)){ $end = $start; } echo '£'.$end; ?> How can i make the calculator work again ??? Many thanks Sigmon
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.