This is my html. When I put name and press ENTER , browser opening download box for report.php . I don't know how to fix that. I have Apache MySQL started. Windows 8.
<form action="report.php" method="post">
<label for="Your Name">Your Name</label>
<input type="text" id="firstname" name="firstname"><br>
</form>
this is report.php
<?php
$first_name = $_POST['firstname'];
echo 'Your name is'. $first_name;
?>