how to form data to another file in php
<form action="post-method.php" method="post">
<input type="text" name="firstname" placeholder="First Name" />
<input type="text" name="lastname" placeholder="Last Name" />
<input type="submit" name="submit" />
</form>