Hi there, I need some help figuring out what is wrong with my code. See below.
<form action="assgn2.php" method="POST">
Time object has fallen: <input type="text" name="time" />
<input type="submit" value="Submit" />
</form>
<?php
$time; //= $_POST['time'];
$distanceFallen = (1/2) 9.81 pow($time, 2);
echo $distanceFallen;
?>
After I enter the time and click submit, it will say "Internet Explorer cannot display the web page".
Any help would be greatly appreciated. 😃