HTMLify
Post-Method.php
Views: 641 | Author: djdj
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <?php if($_SERVER['REQUEST_METHOD'] == 'POST'){//if (isset($_POST)){ $name = $_POST['name']; $email = $_POST['email']; echo "welcome" .$name ."". $email; } ?> <form action="" method="POST"> Name:<input type="text" name="name" placeholder="enter your name"><br> Email:<input type="email" name="email" placeholder="enter your mail"><br> <input type="submit"> </form> |