Here’s some changes I made.
[php]
Calories Burned Calculator
Calories Burned Calculator
Use military time
<form action = "calories.php" method = "post" >
<p>What is your first name?
<input type = "text" size = "20" name = "firstName"/>
<p>What is your last name?
<input type = "text" size = "20" name = "lastName"/></p>
<img src="baphbike.jpg" width="200" height="200" alt="Baphomet Cycle"/>
<p>What is your start and end time for your <a href="http://www.active.com/cycling/articles/how-to-look-like-a-cyclist" target="_blank">cycling workouts?</a></p>
<p>Start Time1
<p>End Time<input type = "text" size = "6" name = "cyclingEnd" placeholder="End Time"/></p>
<p>Start Time<input type = "text" size = "6" name = placeholder="cyclingStart1"/>
<p>End Time<input type = "text" size = "6" name = placeholder="cyclingEnd1"/></p>
<img src="bluedevil.jpg" width="200" height="200" alt="swimming devil" />
<p>What is your start and end time for your <a href="http://www.huffingtonpost.com/wicked-good-travel-tips/do-you-swim-in-sludge-ame_b_662131.html" target="_blank">swimming workouts?</a></p>
<p>Start Time<input type = "text" size = "6" name = placeholder="swimmingStart" />
<p>End Time<input type = "text" size = "6" name = placeholder="swimmingEnd" /></p>
<p>Start Time<input type = "text" size = "6" name = placeholder="swimmingStart1" />
<p>End Time<input type = "text" size = "6" name = placeholder="swimmingEnd1" /></p>
<p>What is your start and end time for your <a href="http://www.kelly-annmaddox.com/2013/02/walking-left-hand-path.html" target="_blank">walking workouts?</a></p>
<p>Start Time<input type = "text" size = "6" name = placeholder="walkingStart" />
<p>End Time<input type = "text" size = "6" name = placeholder="walkingEnd" /></p>
Start Time
End Time
![Devil Running]()
<p>What is your start and end time for your <a href="http://www.runnersworld.com/runners-stories/outrunning-the-demons" target="_blank">running workouts?</a></p>
<p>Start Time<input type = "text" size = "6" name = placeholder="runningStart" />
<p>End Time<input type = "text" size = "6" name = placeholder="runningEnd" /></p>
Start Time
End Time
<img src="deviltennis.jpg" width="200" height="200" alt="Devil Tennis" />
<p>What is your start and end time for your <a href="http://www.jesus-is-savior.com/Evils%20in%20America/Apostasy/judges_17-3.htm" target="_blank">tennis workouts?</a></p>
<p>Start Time<input type = "text" size = "6" name = placeholder="tennisStart" />
<p>End Time<input type = "text" size = "6" name = placeholder="tennisEnd" /></p>
<p>Start Time<input type = "text" size = "6" name = placeholder="tennisStart1" />
<p>End Time<input type = "text" size = "6" name = placeholder="tennisEnd1" /></p>
<p>
<input type = "submit" value = "How well was that burn?" />
</p>
</form>
[/php]
Is it closed correctly now and are there anymore suggestions?
Not sure if I separated it all correctly. Also Strider64 any suggestions to help me learn html/css?
I appreciate all the input.
[php]
Calories Burned Calculator
$cyclingStart = $_POST['cyclingStart'];
$cyclingEnd = $_POST['cyclingEnd'];
$swimmingStart = $_POST['swimmingStart'];
$swimmingEnd = $_POST['swimmingEnd'];
$walkingStart = $_POST['walkingStart'];
$walkingEnd = $_POST['walkingEnd'];
$runningStart = $_POST['runningStart'];
$runningEnd = $_POST['runningEnd'];
$tennisStart = $_POST['tennisStart'];
$tennisEnd = $_POST['tennisEnd'];
<?php
$totalCycling = ($cyclingStart / $cyclingEnd) * 650 = $totalCalories;
$totalSwimming = ($swimmingStart / $swimmingEnd) * 500 = $totalCalories;
$totalwalking = ($walkingStart / $walkingEnd) * 280 = $totalcalories;
$totalRunning = ($runningStart / $runningEnd) * 700 = $totalCalories;
$totalTennis = ($tennisStart / $tennisEnd) * 290 = $totalCalories;
?>
<link rel="stylesheet" type="text/css" href="sample.css" /></head>
print (" <h1>$lastName, $firstName </h1>");, you burned $totalCalories for $totalCycling minutes,
<p><a href = "calories.html">Calculate another day?</a></p>
[/php]