the following is my HTML code for a form
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<form name="myform" action="action.php" method="post">
enter you name: <br>
<input type="text" name="name"><br>
enter your email: <br>
<input type="text" name="email"><br>
<input name="submit" type = "Submit" id="submit" value="submit">
</form>
</body>
</html>
And this is my action.php code
<?php
echo $name;
echo $email;
?>
PHP files do work on my webserver.
I do not know why PHP does not pass my form data.
I really appreciate your help! Thank You