this is test.php file
<html>
<body>
<form action = "gettest.php" method = "GET">
Username: <input type = "text" name = "username" /> <br>
Blood Group: <input type = "text" name = "bloodgroup" /> <br>
<input type = "submit" />
</form>
</body>
</html>
this is gettest.php
<html>
<body>
Welcome <?php echo $_GET["username"]; ?> </br>
Your blood group is: <?php echo $_GET["bloodgroup"]; ?>
</body>
</html>
gettest.php prints the username and password. But, i want to print the same credentials in another php file as well (consider gettest2.php). I believe that this can be done by giving multiple file paths in the form action section of test.php. However, I dont know how to do this.