how to send data from html to php

Solutions on MaxInterview for how to send data from html to php by the best coders in the world

showing results for - "how to send data from html to php"
Lara
23 Aug 2020
1<form action="welcome_get.php" method="get">
2Name: <input type="text" name="name"><br>
3E-mail: <input type="text" name="email"><br>
4<input type="submit">
5</form>
6// in welcome_get.php:
7Welcome <?php echo $_POST["name"]; ?><br>
8Your email address is: <?php echo $_POST["email"]; ?>