FreelancerMy.net
Create System and Modified System,PHP,ASP,VB.NET,HTML,WORDPRESS

PHP - A Simple HTML Form

Labels:
===================================================
<html>

<body>

<form action="welcome.php" method="post">
Name: <input type="text" name="name"><br>
E-mail: <input type="text" name="email"><br>
<input type="submit">
</form>

</body>
</html>

- >save as index.html

====================================================
<html>
<body>

Welcome <?php echo $_POST["name"]; ?><br>
Your email address is: <?php echo $_POST["email"]; ?>

</body>
</html>

- >save as welcome.php

====================================================
0 comments:

Post a Comment

My Blog List